|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.ftp.app.Transfer
public class Transfer
Represents a single act of a third party transfer of one file. The transfer is performed in the constructor. This class will not be very efficient for transferring many files, because each transfer builds its own control channel connection. Instead, it is appropriate to use this class instances for transfers of single files, or for testing server's capabilities.
TransferParams
Constructor Summary | |
---|---|
Transfer(String sourceServer,
int sourcePort,
Authorization sourceSubject,
String absoluteSourceFile,
String destServer,
int destPort,
Authorization destSubject,
String absoluteDestFile,
TransferParams params)
Constructor, performing a single third party transfer from (grid)ftp://sourceServer:sourcePort/absoluteSourceFile to (grid)ftp://destServer:destPort/absoluteDestFile. |
|
Transfer(String sourceServer,
int sourcePort,
String sourceDir,
String sourceFile,
String destServer,
int destPort,
String destDir,
String destFile,
TransferParams params)
Constructor, performing a single third party transfer from (grid)ftp://sourceServer:sourcePort/sourceDir/sourceFile to (grid)ftp://destServer:destPort/destDir/destFile. |
|
Transfer(String sourceServer,
int sourcePort,
String sourceSubject,
String sourceDir,
String sourceFile,
String destServer,
int destPort,
String destSubject,
String destDir,
String destFile,
TransferParams params)
Constructor, performing a single third party transfer from (grid)ftp://sourceServer:sourcePort/sourceDir/sourceFile to (grid)ftp://destServer:destPort/destDir/destFile. |
Method Summary | |
---|---|
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Transfer(String sourceServer, int sourcePort, String sourceDir, String sourceFile, String destServer, int destPort, String destDir, String destFile, TransferParams params) throws IOException, ServerException, ClientException
IOException
ServerException
ClientException
public Transfer(String sourceServer, int sourcePort, String sourceSubject, String sourceDir, String sourceFile, String destServer, int destPort, String destSubject, String destDir, String destFile, TransferParams params) throws IOException, ServerException, ClientException
IOException
ServerException
ClientException
public Transfer(String sourceServer, int sourcePort, Authorization sourceSubject, String absoluteSourceFile, String destServer, int destPort, Authorization destSubject, String absoluteDestFile, TransferParams params) throws IOException, ServerException, ClientException
IOException
ServerException
ClientException
Method Detail |
---|
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |