Click to See Complete Forum and Search --> : How to send upload from an Applet
azam
August 4th, 1999, 06:44 AM
Hi,
I am looking for a solution to upload resources like font,image, text files from my signed applet at client machine to an other remote location. I need hint regarding this issue
thanks in advance
unicman
August 4th, 1999, 08:47 AM
Depends on how u want to upload the resource
1. using FTP
U will have to search for FTP client classes or develop them urself. Using this protocol u can upload or download files to/from ur server.
2. using HTTP
U have two choices here...
a) If u r using CGI or ASP, u can upload file by simulating 'multipart/form-data'. Using ASP it is very easy, u just have to use a upload component (u will get it easily), with which u can store the file on ur server. I have some documentation. Tell me ur email if u want.
b) Or else u can send the resource using 'PUT' command.
- UnicMan
http://members.tripod.com/unicman
sudhakar
August 4th, 1999, 01:46 PM
HI ,
Try Searching for Linlyn Class on the net , which has the code to upload the files through ftp.Also you need to use the signature other wise it would violate the java security.www.javasoft.com has som interesting documents on how to use signature.
Sudhakar
DAVID DONG
August 5th, 1999, 11:38 AM
try use ftp or socket in your applet to transmit resources.
This is from david dong.
veitas
August 5th, 1999, 11:51 AM
There are some FTP classes available. I think they are called NetComponents....do a search on that. They have FTP, SMTP, etc.....
Good class library.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.