# Uses of Class
org.globus.ftp.exception.ClientException

Packages that use ClientException
Package
Description
org.globus.ftp
org.globus.ftp.app
org.globus.ftp.extended
org.globus.ftp.vanilla

## Uses of ClientException in org.globus.ftp

Methods in org.globus.ftp that throw ClientException
Modifier and Type
Method
Description
`TransferState`
FTPClient.`asynchGet(String remoteFileName, DataSink sink, MarkerListener mListener)`
Retrieves the file from the remote server.
`TransferState`
FTPClient.`asynchGet2(String remoteFileName, boolean passive, DataSink sink, MarkerListener mListener)`
Retrieves a file asynchronously using the GFD.47 (a.k.a GridFTP2) GET command.
`TransferState`
FTPClient.`asynchPut(String remoteFileName, DataSource source, MarkerListener mListener)`
Stores file at the remote server.
`TransferState`
FTPClient.`asynchPut(String remoteFileName, DataSource source, MarkerListener mListener, boolean append)`
Stores file at the remote server.
`TransferState`
FTPClient.`asynchPut2(String remoteFileName, boolean passive, DataSource source, MarkerListener mListener)`
Stores a file at the remote server using the GFD.47 (a.k.a GridFTP2) PUT command.
`protected void`
FTPClient.`checkTransferParams()`
`protected void`
FTPClient.`checkTransferParamsGet()`
`protected void`
GridFTPClient.`checkTransferParamsGet()`
`protected void`
FTPClient.`checkTransferParamsPut()`
`protected void`
GridFTPSession.`compareServerMode(Session other)`
`protected void`
Session.`compareServerMode(Session other)`
checks that active / passive sides are correctly set
`protected void`
Session.`compareTransferParams(Session other)`
defines how to compare parameters: authorized, PBSZ, MODE, TYPE
`void`
GridFTPClient.`extendedGet(String remoteFileName, long offset, long size, DataSink sink, MarkerListener mListener)`
Performs extended retrieve (partial retrieve mode).
`void`
GridFTPClient.`extendedGet(String remoteFileName, long size, DataSink sink, MarkerListener mListener)`
Performs extended retrieve (partial retrieve mode starting at offset 0).
`void`
GridFTPClient.`extendedMultipleTransfer(long[] remoteSrcFileOffset, long[] remoteSrcFileLength, String[] remoteSrcFile, GridFTPClient destination, long[] remoteDstFileOffset, String[] remoteDstFile, MarkerListener mListener, MultipleTransferCompleteListener doneListener)`
`void`
GridFTPClient.`extendedMultipleTransfer(String[] remoteSrcFile, GridFTPClient destination, String[] remoteDstFile, MarkerListener mListener, MultipleTransferCompleteListener doneListener)`
`void`
GridFTPClient.`extendedPut(String remoteFileName, long offset, DataSource source, MarkerListener mListener)`
Performs extended store (adujsted store mode).
`void`
GridFTPClient.`extendedPut(String remoteFileName, DataSource source, MarkerListener mListener)`
Performs extended store (adujsted store mode with offset 0).
`void`
GridFTPClient.`extendedTransfer(String remoteSrcFile, long remoteSrcFileOffset, long remoteSrcFileLength, GridFTPClient destination, String remoteDstFile, long remoteDstFileOffset, MarkerListener mListener)`
Performs a third-party transfer between two servers using extended block mode.
`void`
GridFTPClient.`extendedTransfer(String remoteSrcFile, GridFTPClient destination, String remoteDstFile, MarkerListener mListener)`
Performs a third-party transfer between two servers using extended block mode.
`void`
FTPClient.`get(String remoteFileName, File localFile)`
`void`
FTPClient.`get(String remoteFileName, DataSink sink, MarkerListener mListener)`
Retrieves the file from the remote server.
`void`
GridFTPClient.`get(String remoteFileName, File localFile)`
`void`
FTPClient.`get2(String remoteFileName, boolean passive, DataSink sink, MarkerListener mListener)`
Retrieves a file using the GFD.47 (a.k.a GridFTP2) GET command.
`String`
FTPClient.`getChecksum(String algorithm, long offset, long length, String path)`
implement GridFTP v2 CKSM command from GridFTP v2 Protocol Description
`String`
FTPClient.`getChecksum(String algorithm, String path)`
GridFTP v2 CKSM command for the whole file
`List<String>`
FTPClient.`getSupportedCksumAlgorithms()`
According to GridFTP v2 Protocol Description checksum feature has the following syntax:
`boolean`
FTPClient.`isCksumAlgorithmSupported(String algorithm)`
`Vector`
FTPClient.`list()`
Performs remote directory listing.
`Vector`
FTPClient.`list(String filter)`
Performs remote directory listing with the specified filter.
`Vector`
FTPClient.`list(String filter, String modifier)`
Performs remote directory listing with the specified filter and modifier.
`void`
FTPClient.`list(String filter, String modifier, DataSink sink)`
Performs directory listing and writes the result to the supplied data sink.
`Vector`
GridFTPClient.`list(String filter, String modifier)`
Performs remote directory listing like `FTPClient.list()`.
`protected void`
FTPClient.`listCheck()`
check performed at the beginning of list()
`protected void`
GridFTPClient.`listCheck()`
`void`
GridFTPSession.`matches(Session other)`
In addition to the inherited functionality, this method also (1) checks if extended active / passive server modes are set correctly, (2) checks if Mode E is needed, and if so, checks whether it has been set.
`void`
Session.`matches(Session other)`
Ensures that settings of 2 servers match each other so that the servers are capable of performing a transfer between themselves.
`Vector`
FTPClient.`mlsd()`
Performs remote directory listing of the current directory.
`Vector`
FTPClient.`mlsd(String path)`
Performs remote directory listing on the given path.
`void`
FTPClient.`mlsd(String path, DataSink sink)`
Performs remote directory listing on the given path.
`Vector`
GridFTPClient.`mlsd(String filter)`
Performs remote directory listing like `FTPClient.mlsd()`.
`void`
GridFTPClient.`mlsr(String path, MlsxEntryWriter writer)`
Performs a recursive directory listing starting at the given path (or, if path is null, at the current directory of the FTP server).
`Vector`
FTPClient.`nlist()`
Performs remote directory listing of the current directory.
`Vector`
FTPClient.`nlist(String path)`
Performs remote directory listing on the given path.
`void`
FTPClient.`nlist(String path, DataSink sink)`
Performs remote directory listing on the given path.
`Vector`
GridFTPClient.`nlist(String path)`
Performs remote directory listing like `FTPClient.nlist()`.
`protected void`
FTPClient.`performTransfer(Command cmd, DataSink sink)`
`void`
FTPClient.`put(File localFile, String remoteFileName, boolean append)`
`void`
FTPClient.`put(String remoteFileName, DataSource source, MarkerListener mListener)`
Stores file at the remote server.
`void`
FTPClient.`put(String remoteFileName, DataSource source, MarkerListener mListener, boolean append)`
Stores file at the remote server.
`void`
GridFTPClient.`put(File localFile, String remoteFileName, boolean append)`
`void`
FTPClient.`put2(String remoteFileName, boolean passive, DataSource source, MarkerListener mListener)`
Stores a file at the remote server using the GFD.47 (a.k.a GridFTP2) PUT command.
`void`
FTPClient.`setActive()`
Sets remote server active, telling it to connect to the client.
`void`
FTPClient.`setChecksum(String algorithm, String value)`
implement GridFTP v2 SCKS command as described in GridFTP v2 Protocol Description
`void`
FTPClient.`setLocalActive()`
Starts local server in active server mode.
`void`
GridFTPClient.`setLocalStripedActive()`
Starts local server in striped active mode.
`void`
GridFTPClient.`setLocalTCPBufferSize(int size)`
Sets local TCP buffer size (for both receiving and sending).
`void`
FTPClient.`setPassiveMode(boolean passiveMode)`
Enables/disables passive data connections.
`void`
FTPClient.`transfer(String remoteSrcFile, FTPClient destination, String remoteDstFile, boolean append, MarkerListener mListener)`
Performs third-party transfer between two servers.
`static void`
FTPClient.`transfer(FTPClient source, String remoteSrcFile, FTPClient destination, String remoteDstFile, int mode, MarkerListener mListener)`
Performs third-party transfer between two servers.
`protected void`
FTPClient.`transferRun(BasicClientControlChannel other, MarkerListener mListener)`
Actual transfer management.
`protected void`
FTPClient.`transferRunSingleThread(BasicClientControlChannel other, MarkerListener mListener)`
`protected TransferState`
FTPClient.`transferStart(BasicClientControlChannel other, MarkerListener mListener)`
`protected void`
FTPClient.`transferWait(TransferState transferState)`

## Uses of ClientException in org.globus.ftp.app

Constructors in org.globus.ftp.app that throw ClientException
Modifier
Constructor
Description
``
`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.
``
`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.

## Uses of ClientException in org.globus.ftp.extended

Methods in org.globus.ftp.extended that throw ClientException
Modifier and Type
Method
Description
`void`
GridFTPServerFacade.`setActive(HostPort hp)`
`void`
GridFTPServerFacade.`setTCPBufferSize(int size)`
This method needs to be called BEFORE the local socket(s) get created.

## Uses of ClientException in org.globus.ftp.vanilla

Methods in org.globus.ftp.vanilla that throw ClientException
Modifier and Type
Method
Description
`void`
TransferState.`checkError()`
`void`
FTPServerFacade.`setActive(HostPort hp)`
Asynchronous; return before completion.
`void`
TransferState.`waitForEnd()`
Blocks until the transfer is complete or the transfer fails.
`void`
TransferState.`waitForStart()`
Blocks until the transfer begins or the transfer fails to start.