views:

2346

answers:

4

To be able to upload large files from a HTML page to a FTP server, I am looking for a Java/Flash FTP upload applet.

I really like the way dhtmlxVault works, but I need it to upload to a FTP server instead of a HTTP file upload.

It would be really nice if the applet has no GUI of it's own, but instead is fully scriptable using Javascript so I can use HTML/CSS for it's appearance.

I hopefully looked into Yahoo!'s YUI Uploader since it requires Flash, but the documentation only mentions HTTP upload and no FTP upload.

+1  A: 

I tried the ZUpload Java applet.

Pro's:

  • The user interface works as easy as I could hope it to work.
  • It is a Java applet with it's own GUI, but I was able to implement some Javascript callbacks in it to update progress information in HTML. I would be able to minimize the GUI further.

Con's:

  • When an upload failes (when the FTP server tells it it is to busy, please retry in a moment) it thinks the upload succeeded and goes on with the next file. I tried to catch the exceptions but was unable to do so because of either the way j-ftp is used in the applet or my own lack of knowledge.
  • The project seems to be dead since 2003, so I don't expect any updates.

So my conclusion it that it is not ready to be used in a production environment. I still need a better solution.

Tader
A: 

Technically, any swing app would work with only small modifications if you have access to the code. If your ready to offer an applet, maybe you could even use java web start (would require even less changes).

Loki
+1  A: 

This is exactly what IntegralFTP is - a Java applet wrapped by Javascript. The GUI is all implemented in Javascript, and so you can change it how you like.

It supports SFTP, FTP and FTPS.

You can use IntegralFTP from http://www.integralftp.com, or purchase from here.

Bruce Blackshaw
A: 

Have a look to JFileUpload. It supports FTP, SFTP, FTPS and SCP: http://www.jfileupload.com/products/jfileupload/index.html

fileuploader