Hi All,
Can anybdy tell me how to upload a file from a JSP file to a different file server. The uploaded file needs to be saved to a particular file server rather than to the directory structure of the application server.
How can I conenct to a File server and get the directory or if needed create a directory and put the uploaded file.
any idea!!!!!!!!111
PSR-LDN
-
File Uplodaing problem!!!!!!!!! (1 messages)
- Posted by: pratap sinha
- Posted on: December 23 2004 10:31 EST
Threaded Messages (1)
- It depends... by Jakob Jenkov on December 28 2004 09:49 EST
-
It depends...[ Go to top ]
- Posted by: Jakob Jenkov
- Posted on: December 28 2004 09:49 EST
- in response to pratap sinha
Hi there,
It depends on how that other file server can be reached. The easy way I guess would be to map / mount a drive or partition of the remote server on the web server. That way the file can just be saved on what looks like a regular drive.
Alternatively you can connect via FTP or HTTP to the remote server, and send the file over.