|
-
May 2nd, 2002, 01:31 PM
#1
Thread Starter
Addicted Member
Java Applet FTP Client
I'm trying to make an FTP client that runs entirely on the web (Applet based). What java classes do I need to implement for the functionality of the program? The GUI I'll have no problem doing, just knowing what classes to use is tricky and can this be done (with Java I'm assuming anything can be done).
Thanks
-
May 11th, 2002, 03:21 PM
#2
Addicted Member
Well, yes, you can do most anything you want to do with a Java program, but there are many things you can't do with an applet due to security constraints. What you are trying to do is possible using the Socket class but there are restrictions e.g. you may only connect to an FTP server that is the same server as where the applet resides. Also, because you must use the Socket class and not the more convenient URL class, this project will be non-trivial. In order to succeed you will have to implement the parts of the FTP protocol you need from within your applet. This will involve making the connection and issuing a 'PASV' command to tell the server to choose a port # for the file transmission, etc.
cudabean
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|