ftp4j is a Java client library that implements a full-featured FTP client. With ftp4j embedded in your application you can: transfer files (upload and download), browse the remote FTP site (directory listing included), create, delete, rename and move remote directories and files.
Benefits
A glimpse of ftp4j key benefits:
Connectivity:
The ftp4j library can connect the remote FTP server:
- Through a direct TCP/IP connection.
- Through a SSL secured connection (FTPS).
- Through a FTP proxy.
- Tunnelling through a HTTP proxy.
- Through a SOCKS 4/4a proxy.
- Through a SOCKS 5 proxy.
- You can add support to other proxies plugging your own connector, since the ftp4j connection manager architecture is modular.
Browsing the remote site
- FTP LIST command support through extensible parser architecture. Bundled parsers can handle: UNIX style listing, MAC style, DOS style, NetWare style and variants, EPLF style. Moreover you can build your own parser and plug it in the library.
- Clear object representation of directory contents.
Download and upload
- Active and passive transfer mode support.
- Binary and textual transfer type support, with optional and extensible type auto-selection.
- Event-based transfer monitoring.
- Transfer abortion support.
- Transfer resume support.
Java exceptions
- Structured exceptions let the developer know the real cause of any failure.
Product's homepage
Requirements:
· Java 2 Standard Edition Runtime Environment
What's New in This Release: [ read full changelog ]
· The FTPConnector has now a setUseSuggestedAddressForDataConnections() method that can be used to determinate if the connector should trust the address returned by the server in the response of a PASV command, or if it should rather connect to the same host used for the communication channel.
· A bug related to the auto noop timer has been fixed.
· Any call to SimpleDateFormat is now thread safe.
· There are enhancements in data transfer routines, which now are compatible with a larger set of servers and proxies.