Does everyone know if there's an example of code of an application similar to these one?
http://www.jscape.com/sftpapplet/sftp_applet_demo.html
It's an applet that allows to upload huge files into an FTP Active server via HTTP using a Java Applet.
Does everyone know if there's an example of code of an application similar to these one?
http://www.jscape.com/sftpapplet/sftp_applet_demo.html
It's an applet that allows to upload huge files into an FTP Active server via HTTP using a Java Applet.
Here's a step by step:
Create a class which accepts a File...
argument and sends them to a SFTP server. Any Java SSH API should suffice. Here are the open source ones:
Test it as a simple Java Application with a main()
method.
Create a nice Swing UI utilizing the functionality of the class you created at step 1. You can for example use a JFileChooser to select local files for upload.
Create an Applet which launches the Swing UI which you created at step 2.
Embed the applet in a HTML page using <applet>
or <object>
tags or using the unversal applet deployment tool in flavor of deployJava.js
.