So I have an applet hosted on my webserver and I have three .xls files on the same ftp server as my app. I want my applet to have access to these files but am having major difficulties. Since the applet runs on the users computer my strategy was to let the user download the files to a specific directory and use that path in my html code for <PARAM NAME . I have been doing research on servlets and am wondering whether or not to configure my app to use some of the functionality. In summary my applet needs access to three files that are stored on the ftp server which are accessible via direct link as well. I would appreciate any help !
If the files are accessible via direct link (by which I assume you mean HTTP), you could just use HttpURLConnection to download them. of course, in order to be able to store them on the local file system, the applet would need to be signed.
If you want to use FTP - no big deal, either. Just ship the applet with the Apache Commons Net library, which has an FTP client built in.