edtFTPj/PRO - Secure FTP library for Java | Free Trial | Pricing
 How to ... examples

edtFTPj/PRO has many code samples covering its different capabilities.  

To run each example, open a DOS window in the example's directory and type 'run'. The arguments required will be displayed in the usage statement. For more details on how to run the examples, see How to run the examples.

The examples are listed below: 

·    How to connect to an FTP server
·    How to get a directory listing
·    How to change directories
·    How to upload, download and delete a file
·    How to use binary or ASCII mode
·    How to use active or passive mode
·    How to transfer directly from/to memory
·    How to monitor transfers and commands
·    How to pause and resume transfers
·    How to transfer multiple files and directories
·     How to use the multi-protocol client
·     How to use asynchronous methods
·    How to use FTPS (without server validation)
·    How to use FTPS (with server validation)
·    How to use FTPS (with client/server validation)
·     ·    How to use FTPS (implicit)
·     ·     How to use FTPS (with the multi-protocol client)
·    How to use SFTP (without server validation)
·    How to use SFTP (with server validation - known hosts)
·    How to use SFTP (with server validation - public key files)
·    How to use SFTP (with client validation - password authentication)
·    How to use SFTP (with client validation - public key authentication)
·    How to use SFTP (with client validation - keyboard-interactive authentication)
·    How to use SFTP (choosing algorithms)
·     How to use SFTP (with the multi-protocol client)
·    How to set up logging