FTP Upload Applet
843807Mar 5 2008 — edited May 10 2008Hi all,
I am working on a project for school and I was wondering if somebody could shed some light on this.
I am really new to Java and Applets (I am coming from C#) and I have little time to turn this in. I would really appreciate if you can point me to the right direction (blogs, articles, open source solutions, etc).
Here is what I need to do:
I have to code a simple FTP applet. The requirements are quite simple (I think). Here they are:
1. Show a small “form” on a web page*.
2. The “Form” should have a “*Browse*” button that will allow the user to look for the file that he/she wants to upload to the FTP server.
3. The “Form” should have an “*Upload*” button that: When a file is selected and the upload button is clicked, it should start, in a separate thread, the communication and upload process with the server. It also should disable itself and enable a “Cancel” button.
4. The “Form” should have a “*Cancel*” button that its state should be disabled. Is should be enabled only when the uploading process is running in background. When this button is clicked it should finish the uploading process.
Thanks a lot in advance!
LAM.