File Upload
1 posts in topic
Flat View  Flat View

Posted By:   amol_vaidya
Posted On:   Sunday, February 15, 2004 09:50 PM

i want to upload a file on from a windows system in LAN to Linux system.My program is running on Linux m/c.
I tried it by mounting the Windows folder on Ljnux system.But it still gives java.io.FileNotFoundException.
Can anyone help me.Its very urgent.

Re: File Upload

Posted By:   Ankur_Lamba  
Posted On:   Wednesday, March 10, 2004 09:42 AM

So, let me guess this is what you are doing...

you have a java program on a linux machine. It needs to access some file on
a windows system, which you have mounted on linux machine.

Make sure : -

  1. In shell you can "ls" that particular file.

  2. Your program has the file path correct.

  3. Your program has adequate authority to access that file. (Root mounts
    the windows filesystem, and thus to access anything on it with write request
    requires root level authority.)

About | Sitemap | Contact