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.
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.