Class FTPClientWrapper

java.lang.Object
org.apache.commons.vfs2.provider.ftp.FTPClientWrapper
All Implemented Interfaces:
FtpClient

public class FTPClientWrapper extends Object implements FtpClient
A wrapper to the FTPClient to allow automatic reconnect on connection loss.

I decided to not to use eg. noop() to determine the state of the connection to avoid unnecessary server round-trips.