Secure FTP Factory is a set of Java classes for communicating with FTP servers using the FTP, SFTP (FTP over SSH), and FTPS (FTP over SSL) protocols. The components offer complete FTP functionality, including the ability to transfer files, rename files, delete files, create directories, transfer directories recursively, and more.
| Tags | Internet FTP Software Development Libraries Java Libraries |
|---|---|
| Implementation | Java |
Recent releases


Changes: Improved timeout support in all classes that support connection timeouts. setSendBufferSize and setReceiveBufferSize methods have been added to the FTP, SFTP, and SCP classes. Support for MFMT and MFCT commands has been added to the FTP and FTPS classes.


Changes: This release updates various methods to provide true regular expression support. It adds an mdelete method to support deleting files matching a regular expression. It adds setContextAlgorithm, setContextAlgorithmProvider, setContextProtocol, setContextProtocolProvider, and setKeystoreProvider methods for controlling what X509 algorithim, TLS protocol, and security providers are used in the FTPS class. A delay found between authentication requests in the SFTP protocol has been removed.


Changes: This release adds relative path support to the Sftp and Scp classes. It adds Sftp.getInputStream and Sftp.getOutputStream methods. It fixes an issue experienced in the Ftps class when reading empty directories or downloading empty files on some servers. It fixes an issue experienced in using the Ftp.getInputStream and Ftp.getOutputStream methods. It fixes an issue in order to handle servers that return Windows_NT as a system type but return a directory listing in Unix format. It fixes an issue in the Sftp class for deleting directories recursively.


Changes: Ftp.setDataPort and Ftp.getDataPort methods were added for specifying the local port to listen on in active connections. Ftps.setShutdownCCC and Ftps.getShutdownCCC methods were added to define whether SSL socket should be shutdown after entering CCC (Clear Command Channel) mode. Automatic password masking was added when writing a password to the debug stream. A 2GB limitation was fixed in the Scp class. An issue in Ftps.getNameListing experienced in empty directories was fixed.


Changes: ASCII file transfer support was added for sftp servers using protocol versions prior to sftp version 4. The ability to get and set the line terminator was added in the Sftp class when performing ASCII transfers with servers using sftp protocol prior to sftp version 4. Support was added for the XCRC command, allowing you to perform checksum operations against local and remote files to verify that files were transferred without any corruption of data. Support was added for setting remote file permissions in the Sftp class using UNIX style chmod.