Since you posted to the
JSP forum I'm assuming that your code runs as part of a web app; is that correct? If so, it can't access files on the client system. As I said above, they need to be uploaded to the server first.
I'm not clear how the FTP server fits in. An HTML page can't upload to an FTP server, only to a web server.
[ July 16, 2008: Message edited by: Ulf Dittmer ]