org.curjent.example.agent.ftpxfer
Interface FTPTransferFactory


public interface FTPTransferFactory

FTP transfer factory.

The agent's factory accepts three arguments. The first is the remote FTP host. The test driver uses ftp.osuosl.org. The second factory argument is a local file system directory. Files are downloaded from the host and saved to the local directory. The test driver uses the Java runtime's temp directory. The last argument is the maximum number of current tasks to simultaneously download files.


Field Summary
static FTPTransferFactory INSTANCE
           
 
Method Summary
 FTPTransfer newInstance(String remote, String local, int tasks)
           
 

Field Detail

INSTANCE

static final FTPTransferFactory INSTANCE
Method Detail

newInstance

FTPTransfer newInstance(String remote,
                        String local,
                        int tasks)


Copyright 2009-2011 Tom Landon
Apache License 2.0