Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

FTP Upload Applet

843807Mar 5 2008 — edited May 10 2008
Hi 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2008
Added on Mar 5 2008
3 comments
107 views