File Transfer 2.6
ncludes classes to let you copy, download and upload files from within a Java program. Also contains a command-line utility to download files.
Fully commented Java source is provided. It is now comes in four parts, MiniFileTransfer, FileTransfer and MaxiFileTransfer, Download depending on how much functionality you require. Now supports copying members in local jar files.
Command line use:
java.exe -jar download.jar http : //x.com/anyfile.html C:tempanyfile.txt
without spaces around : )
Usually you embed these classes in your own program rather than using them standalone.