Sending files from the remote method

hi,
I would like to know if we can send a File object, i.e. a file as the return value from the remote method on the server side accessed by the client.
Actually, i want to make the files stored at the server system accessible to the client system. how to achieve it?

java.io.File implements java.io.Serializable so the previous answer is formally incorrect. However you need to be aware that that would only send the File object, which is essentially the filename, not its contents. I'm sure that what the poster meant to say.
You can send the contents as well in a number of ways but you have to write it by hand. There's no easy way out of the box.

Similar Messages

  • How do I send files from iPad to Mac book pro

    Hi I am having trouble blue too thing my new IPad Air to my mac book pro?

    Gillmweighill wrote:
    Hi I am having trouble blue too thing my new IPad Air to my mac book pro?
    That's be use you can't send files from the iPad to the Mac over Bluetooth without a third party app. This feature is not native in iOS.
    You can email files, use DropBox or another cloud sync service, or use iOS File Sharing with iTunes. - if the app that you are using supports file sharing. There are also apps that let you mount your iPad like a thumb drive that will allow you to move files back and forth by connecting the device to the USB a port with the provided cable or by using WiFi as well.
    it helps if you state what files you want to move, what app you are using, etc....details, details....

  • I cant successfully send files from pages via email on my ipad

    The files i send from pages via mail hardly ever send, and when they do i am unable to open the file in the mail, i am having the same truble with sending files from the photo library from my i pad

    Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release

  • Help me send files from my Mac to my BlackBerry

    Friends:
    I'm trying to send files to my BlackBerry via BlueTooth with no luck. I attempt to initiate receiving the files from my BlackBerry prior to sending it from my Mac, but I get the following error:
    "File Transfer Connection Failed" (the file doesn't even begin to transfer)
    Oddly enough I can send files from the BlackBerry via BlueTooth easily.
    Sharing via BlueTooth is enabled on the Mac.
    In manage connections, the the BlueTooth is ON but it has a little dash next
    to the checkbox, not a green check mark like Wi-Fi and the Mobile Network do.
    Thanks for your ideas!
    Migs

    http://discussions.apple.com/forum.jspa?forumID=1003
    http://www.howardforums.com/
    I've found the easiest way on leopard(or panther & Tiger) is to use my ISP's web mail, and bear in mind I am using an LG phone and Verizon, to sent a message and attachment to my phone by To: [email protected] and then it comes to cell phone. I don't know if your carrier has such a # to send data like verizon does. Probably does. Depending on what machine and OS X I'm using, it all seems to work different. There are modem scripts in /Library/Modem\ Scripts for usage. But then Leopard Syspref seems to have a different style to setup those modems. Bluetooth is about like a chain saw. Tough, at best to start, sometimes.

  • Cannot send file from phone

    I have just moved over from my Nokia 6630 to an N70. Somewhere in the pairing process while setting up the new phone I have lost the ability to send files from either phone to the Mac via bluetooth.
    Everything else works fine. I can iSync and can send files from the Mac to both phones.
    I have deleted and re-paired without success.

    You ARE still on 10.4.3, right? Myself and many others had an identical problem, me with my Nokia 6670, after upgrading to 10.4.4. Ended up downgrading to 10.4.3. All working again.
    Looking at the list of supported phones on the Apple site, though, the N70 isn't there.
    See: http://www.apple.com/macosx/features/isync/devices.html

  • How do I send files from my LG Viewty to my macbook?

    Hi,
    I recently got my first ever mac, a beautiful macbook pro. Since I use my LG Viewty "cell" (mobile)phone as a camera, I wanted to transfer some photos onto my macbook. But after pairing the devices and switching both bluetooths on, I was able only to send files from the mac to the phone.
    Can anyone tell me how to send files from my phone to my macbook?
    Thanks

    I get the device does not have the necessary services, when I try this on the iPhone to send a file to the handset.
    The other way around from the handset to computer, you get 4 options.
    Email Photo
    send to MobileMe
    Assign to contact
    Use as wallpaper
    So that's it I guess, no bluetooth file transfer between iPhone to other devices.

  • 0x803d0013 Error occured sending encryption status (A fault was received from the remote endpoint)

    Alright, I am stumped. I have looked at nearly every article on this error here at Technet and other sites:
    An error occurred while sending encryption status data.
    Error code:
    0x803d0013 
    Details:
    A message containing a fault was received from the remote endpoint.
    First, I am testing this. I have copied the MDOP ADMX/ADML files directly to the client I am testing this on, and I am applying the policy via the Group Policy Management on the local machine. I am not deploying this via the domain. I wouldn't think that
    would make a difference, but please let me know if I am wrong.
    I have performed the following:
    1. (DisableMachineVerification)
    in MBAM registry as
    is in this article  http://support.microsoft.com/kb/2612822
    2.  On the MDOP group policy I have enabled: 
          I. Client Management
              A. Configure MBAM Services
              B. Configure user exemption policy
         II. Fixed Drive
              A. Fixed data drive encryption settings
              B. Choose how BitLocker-protected fixed drives can be recovered
         III. Operating System Drive
              A. Operating system drive encryption settings
              B. Choose how BitLocker-protected operating system drives can be recovered
         IV. Removable Drive
              A. Control use of BitLocker on removable drives
    3.
    On the MBAM Administration Server AD object, enable the “Trust for delegation for any service (Kerberos Only) option”, under the Delegation tab. Also,
    the user has been granted delegation privileges for all of the services on the server.
    4. SPN Records have been created for the server
    5. HKLM\Software\Policies\Microsoft\FVE\MDOPBitLockerManagement
    Change the ClientWakeUpFrequency = 1 and StatusReportingFrequency=1 
    Create a dword value “NoStartupDelay” under HKLM\Software\Microsoft\MBAM and set its value to 1.
    Also, I did not encrypt my drive with MBAM. It was encrypted before hand. Is there anything I can check or do? The event logs on the MBAM server under MBAM-Web don't show anything under Admin or Operational.
    I think my KeyRecoveryServiceEndPoint and StatusReportingServiceEndpoint URLs are correct:
    https://mbam01.domainname.com:443/MBAMRecoveryAndHardwareService/CoreService.svc
    https://mbam01.domainname.com:443/MBAMComplianceStatusService/StatusReportingService.svc
    I even think there was a registry key to make the hardware compatible, but I don't remember which key it was, as I uninstalled and reinstalled, and don't remember where I found that on the forums.
    Any suggestions?

    If you have made changes to the web.config files to accommodate the SSL settings, you will not be able to browse the URLs with the http protocols. The URLs will then only work with the https protocols.
    Could you please confirm the login created for the particular local groups with the following permission:-
    For MBAM Compliance Auditing DB Access:-
    User Mapping – MBAM Compliance Status
    DB Role Membership – ComplianceWriteRole
    Server Roles – Public
    For MBAM
    Recovery and Hardware DB access:-
    User Mapping – MBAM Recovery and Hardware
    DB Role Membership – RecoveryandHardwareReadRole, RecoveryandHardwareWriteRole
    Server Roles – Public
    Make sure the MBAM Computer account (MBAM Web Server) is a member of these two groups.
    Gaurav Ranjan

  • How do you send a File from the Clinent End To the Server?

    Hi, I'm jut learing Java and am tring to send a file from the Cleints end to the Servers' end, I know how to do this in Php, but its some what different in Java, i know where is a File Class which i can post the information into but for some reason it woudn't work
    <%@ page import=" javax.servlet.*, java.io.File" %>
    <%
    String fullname, emailadds, genre, filename;
    fullname = request.getParameter("Name");
    emailadds = request.getParameter("email");
    genre = request.getParameter("genre");
    filename = request.getParameter("clip");
    File file = new File();
    file.isFile();
    if (file.isFile())
    out.print("File is true");
    else
    out.print("file ain't there");
    %>
    just as a tester i tried this to see if file is being read, but it won't compile
    I keep getting this error sign! Have i missed out a lib or somthing?
    \upload_jsp.java:52: cannot find symbol
    symbol : constructor File()
    location: class java.io.File
    File file = new File();

    Sham, dont show your anger... and dont use provocative words...
    Now, coming to your problems.
    your jsp/html should contain some thing like
    <form action="/uploadServlet" method="post">
    <input type="file" name="file"/>
    <input type ="submit" value="upload"/>
    </form>and for servlet code, refer to
    http://forum.java.sun.com/thread.jspa?threadID=516176&messageID=2461686
    or the easiest way would be to use 'commons-fileupload' api available on http://jakarta.apache.org/commons/

  • How do I send files from my IMAC via bluetooth to my ne Ipad.  They will not "pair" but they are connected and discoverable.  I send a file from Imac snow leopard OS X 10.6 to the ipad but the failure message says the ipad does not have the ncessary servr

    How do I send files from my IMAC via bluetooth to my new Ipad?  They will not "pair" but they are connected and discoverable.  I send a file from Imac snow leopard OS X 10.6 to the ipadusing bluetooth,  but the failure message says the ipad does not have the necessary services.  What are these?  Do I neeed to have iphoto and ms word to send pix and .doc files?

    File Sharing over Bluetooth is not a feature of iOS devices. iOS does not include the required Bluetooth profiles to allow this. You cannot add this feature, so you may as well stop trying.

  • Using "Send Update" from the address book file menu.

    I plan to use the "Send Update" from the File menu in Address Book to notify a large group I've created of my upcoming change of address. If a person on my list of people to to receive the update message has more than one email address, to which email address does Address Book send the message? All email address' of each person?
    Also, I assume, from the email message window created when sending an update, recipients will see only the name of the group I created instead of all of the email addresses of all the people to which the update was sent. Have I assumed correctly?

    How did you move your Thunderbird data from its default position?
    If you had simply shifted your entire profile, the address book files would have moved too, so I suspect you've used the dangerous and inadvisable "Local Directory" option in Account Settinhgs to relocate specific mailstore files. :-(
    I don't know of any way to set the path for address books. They are, it seems, required by design to reside in the user profile folder.
    I don't like to advise use of the Local Directory settings, since doing so detaches message stores from your profile and makes profile management and maintenance a whole lot more difficult. Automated tools such as Mozbackup won't know to look outside the regular profile to safeguard your messages. All the published advice about profile management assumes you use the default locations which are within the profile. The Local Directory setting should, IMHO, be hidden inside the about:config editor for use only by power users.

  • I need my application to be able to open a .pdf file which was previously synced to the iBooks PFDs Collection. I then wish to remove the file from the collection and send it to email.

    I need my application to be able to open a .pdf file which was previously synced to the iBooks PFDs Collection. I then wish to remove the file from the collection and send it to email.

    I opened one of the PDF files in notepad and these are the first couple lines:
    瀖ᕁމጿ␠씴豈䧉筩롈ꓳ劏ꎯ僪뚢頟뻏즏谀㿃夑퀉꟠鲲쮂⫉笿褡밤籞冁탁ӓ轸뿐笼ⵆ횰䄌ඁ淥ة寨闤⬅鳦팥링빨嬄敎უ婏㣴ً鮓ࣿꢚ㑀녲莒඼ိȆ䕇纍쉉籶뺝갞伐쮠᥏﯒넉釖ȓ겴☧ ἣ秵駻�䣞띰㖔流羀籔朼敨ꢉ糶당⬤俉膇䄐惡�ಹꛖ鍡恡ⱶᶜ�堷﹑ﱌ僿걄뎔æ䋷귪⛢⫐䅪䉙὿烶ꖆ႟ᗔ瘞狻틫儩六잶覱낵듘盋崾�ᦜ㺆௹뻹燴ឋ騙쬄ꏿ뽒煹�钼뇲腎稦ꃲ㈃沒ꔈ뺐뛽첑䘶畱䍣紻 ⁜哠鳾

  • How to upload words, exel, PDF file from the pc via itune to the iPad, and where will the uploaded file be saved? In the apps?

    How to upload words, exel, PDF file from the pc via itune to the iPad, and where will the uploaded file be saved? In the apps?

    You will need an app (or apps) on your iPad that is capable of reading the documents, as they will be saved with the app - if you don't have such an app then there is nothing to transfer them to or to read/access them.
    One method of transferring them is toconnect your iPad to your computer's iTunes, select it's app tab, and then scroll to the bottom of it - you should the apps That you've got that are capable of file-sharing (if you've got any).  Selecting/high-lighting one of them should then allow you to add files to it via the box to the right of it.
    An alternative way to get the documents onto your iPad is if the app that you want to transfer them to has a wifi setting, which will then allow you to transfer the documents wirelessly. You can also send the documents to yourself as attachments and then use Mail's 'open in' facility to copy them into your chosen app.
    Edit : more info on file sharing from the manual :
    File Sharing lets you transfer files between iPad and your computer. You can share files created with a compatible app and saved in a supported format.
    Apps that support file sharing appear in the File Sharing Apps list in iTunes. For each app, the Files list shows the documents that are on iPad. See the app’s documentation for how it shares files; not all apps support this feature.
    Connect iPad to your computer.
    In iTunes, select iPad in the Devices list, then click Apps at the top of the screen.
    In the File Sharing section, select an app from the list on the left.
    On the right, select the file you want to transfer, then click “Save to” and choose a destination on your computer.
    Transfer a file from your computer to iPad:
    Connect iPad to your computer.
    In iTunes, select iPad in the Devices list, then click Apps at the top of the screen.
    In the File Sharing section, click Add.
    Select a file, then click Choose (Mac) or OK (PC).
    The file is transferred to your device and can be opened using an app that supports that file type. To transfer more than one file, select each additional file.
    Delete a file from iPad: Select the file in the Files list, then tap Delete.
    Message was edited by: King_Penguin

  • Delete file from the list & as well as from file upload

    I have come across a situation where there is a sap.ui.unified.FileUploader & user is free to upload as many file selected. then there is a button to display the list of added files as list(deleteable list). list delete is possible by using the standard function provided in the explored of SAP UI5 SDK document. but how to bind both the controls?? do that at the time of deleting the list it will also delete the files added in FileUploader. attaching the screenshot for better understanding...
    SAP UI5 Version 1.24.3

    Hi,
    you can use the setValue() method when you delete a file from the list:
    oFileUploader.setValue("");
    Kind regards,
    RW

  • Cannot send files from phone to Satellite L755-16z using BT

    Hi, experts :)
    I'm gonna get straight to the point !
    I've got a toshiba satallite L755-16z since a month or so (New, with windows 7 64-bit)
    and its is known that it has BT and I guess its 3.0
    So I tried to connect the bluetooth with my phone & it paired just fine !
    but when I try to send files from and to my phone, it says (connecting) but doesn't manage to send it in the end. furthermore, this problem isn't only with my phone as I've tried sending and recieving to & from another phone, but still same problem !
    HOWEVER, I tried to turn the BT adapter off (right click on bluetooth Icon in notification area then turn adapter off), then starting the (bluetooth monitor) application, and sending files & IT WORKS !!
    But this happens only for one time right after restarting bluetooth, so everytime I have to send files, I have to turn BT off then turn it on ?!!!
    This is kind of Unacceptable !
    I tried Toshiba Bluetooth Stack, and it had the same problem. Also, I didn't like the way it worked (style and everything) ... so I uninstalled it & returned to the original BT version in pc.
    I've searched for answers with no luck & now I'm desperate for the answer !
    Plz anyone who knows how to solve this issue, help me Plz ??!
    If my email is needed : [[email protected]]

    ok I tried to turn it off with fn + f8 ... wlan turns off with it too, that's natural, I know :)
    then I turned it on & I recieved a file from phone just fine ... that only worked ONE time !
    after that, sending/recieving files won't work ... on my phone it says ( cannot connect ) .... same thing when I restart bt monitor manually !!
    Also, I have tried going to ( C:\Program Files (x86)\TOSHIBA\Bluetooth Monitor ) folder
    there are other bt monitors like (btmon2) and (btmon64) but both of them are have same problem but has more time of activity !
    the problem itself isn't that its on or off ...
    it is on and it appears in the notification area ... but only works for only a short period of time ...
    or for (btmon2) I can say it works right after starting it ... then works for a while when its active (sending files or recieving files) ... but after a while with no activity (no sending/recieving) It Stops Working :(
    How can I fix the problem ???
    Mr. Tonny ? Anyone ??

  • Delete  flat file from the local drive after downloading in the program

    how to <b>delete flat file from the local drive after downloading in the program</b>
    I am using gui_upload to upload flat file data in internal table. and after that i dont want that flat file in the disk. i want to delete it.

    Once the file has been uploaded into the internal table call the<b> FILE_DELETE </b>method of the class  <b>CL_GUI_FRONTEND_SERVICES</b>.
    DATA: v_rc TYPE i.
    CALL METHOD cl_gui_frontend_services=>file_delete
    EXPORTING
    filename = 'C:\TEMP\MATERIAL.TXT'
    CHANGING
    rc = v_rc
    EXCEPTIONS
    file_delete_failed = 1
    cntl_error = 2
    error_no_gui = 3
    file_not_found = 4
    access_denied = 5
    unknown_error = 6
    OTHERS = 7.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Regards
    Kathirvel

Maybe you are looking for

  • User exit in sales order

    Hi All, I want to know if there is a way (user exit) that could look at the Sales Order Type , particular Item Pricing Condition  and Ship-to party State and set the materialu2019s tax classification (VBAP/TAXM1) to u201C0u201D (Exempt) ? Thanks in A

  • How do you set nls_date_format in APEX

    I tried to create a application level process to do this, but when I hit debug on page loads I still see "NLS: Set date format="DD-MON-RR"" every page load and my date values are still getting passed as this format. Also unrelated, anyone know how to

  • Interactive BP report

    Hi, I am writing an ABAP program to display a list of BP numbers. When i double click on a BP number it should take me to BP screen and and open that particular BP's details whose number i have clicked. I have tried setting parameter 'BPA' to the BP

  • Problem with customer exit variable

    HI i have created a customer exit variable to rread a table based in user input and pass it to my variable , every thing works fine but i get a waring message in my WAD saying RANGE-LOW for customer exit variable ZVSO_PRM corrected to #   BRAIN  746

  • VBAK-GSBER modifiable in VA01, VA02

    Good afternoon experts We have a requirement in our company to make VBAK-GSBER a modiable one? As per checking, with out any SO variant,  it is in display mode. Is it really in display mode? I have read that it is configured via Business Area Account