I am using orilly MultipartRequest to upload files from cliemt to server.But it is very slow . Is there any way of FTPing files from client to server?.
I've never seen a speed difference between using multipart uploads and uploading with a regular ftp client. You might just have a slow upload rate from your internet provider.
There are different package are availble to upload file from client machine to server. if using jsp then refer jsp smartupload lib, if using servelt then try for apache.common under that some fileupload utility is availble.
The library you use doen't matter. They're all on the server. The browser is what does the upload. Your connection is going to be the biggest determining factor. [ May 01, 2005: Message edited by: Ben Souther ]
I feel ftp must be faster compared to http. I am using MultipartRequest to upload a 100MB file which is taking hours of time to upload. But if I use a FTP client(WS_FTP) to upload , it is just taking a few minutes. Do you know , how to use FTP from servlet/jsp ? Also do I need to have a FTP server if I am uploading through FTP ?
You would need an FTP server. You would also need an FTP client because browsers do not allow webapps to access the local file system except via the <input type="file".. control.
I don't think there is an easy way to use FTP from a servlet app.