Uses of Class
org.globus.ftp.exception.ServerException
Packages that use ServerException
Package
Description
-
Uses of ServerException in org.globus.ftp
Methods in org.globus.ftp that throw ServerExceptionModifier and TypeMethodDescriptionvoidFTPClient.abort()Aborts the current transfer.protected voidFTPClient.actualSetMode(int mode, String modeStr) voidFTPClient.allocate(long size) Reserve sufficient storage to accommodate the new file to be transferred.FTPClient.asynchGet(String remoteFileName, DataSink sink, MarkerListener mListener) Retrieves the file from the remote server.FTPClient.asynchGet2(String remoteFileName, boolean passive, DataSink sink, MarkerListener mListener) Retrieves a file asynchronously using the GFD.47 (a.k.a GridFTP2) GET command.FTPClient.asynchPut(String remoteFileName, DataSource source, MarkerListener mListener) Stores file at the remote server.FTPClient.asynchPut(String remoteFileName, DataSource source, MarkerListener mListener, boolean append) Stores file at the remote server.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.voidGridFTPClient.authenticate(GSSCredential credential) Performs authentication with specified user credentials.voidGridFTPClient.authenticate(GSSCredential credential, String username) Performs authentication with specified user credentials and a specific username (assuming the user dn maps to the passed username).voidPerforms user authorization with specified user and password.voidChanges the remote current working directory.voidGridFTPClient.changeGroup(String group, String file) Change the Unix group membership of a file.voidGridFTPClient.changeModificationTime(int year, int month, int day, int hour, int min, int sec, String file) Change the modification time of a file.private voidFTPClient.checkCksumSupport(String algorithm) protected voidFTPClient.checkGETPUTSupport()Throws ServerException if GFD.47 GETPUT is not supported or cannot be used.protected voidGridFTPClient.checkGridFTPSupport()assure that the server supports extended transfer features; throw exception if notGridFTPClient.checksum(ChecksumAlgorithm algorithm, long offset, long length, String file) Computes and returns a checksum of a file.protected voidFTPClient.checkTransferParams()protected voidFTPClient.checkTransferParamsGet()protected voidGridFTPClient.checkTransferParamsGet()protected voidFTPClient.checkTransferParamsPut()voidFTPClient.close()Closes connection.voidFTPClient.close(boolean ignoreQuitReply) Closes connection.voidGridFTPClient.createSymbolicLink(String link_target, String link_name) Create a symbolic link on the FTP server.voidDeletes the remote directory.voidFTPClient.deleteFile(String filename) Deletes the remote file.private ReplybooleanChecks if given file/directory exists on the server.voidGridFTPClient.extendedGet(String remoteFileName, long offset, long size, DataSink sink, MarkerListener mListener) Performs extended retrieve (partial retrieve mode).voidGridFTPClient.extendedGet(String remoteFileName, long size, DataSink sink, MarkerListener mListener) Performs extended retrieve (partial retrieve mode starting at offset 0).voidGridFTPClient.extendedMultipleTransfer(long[] remoteSrcFileOffset, long[] remoteSrcFileLength, String[] remoteSrcFile, GridFTPClient destination, long[] remoteDstFileOffset, String[] remoteDstFile, MarkerListener mListener, MultipleTransferCompleteListener doneListener) voidGridFTPClient.extendedMultipleTransfer(String[] remoteSrcFile, GridFTPClient destination, String[] remoteDstFile, MarkerListener mListener, MultipleTransferCompleteListener doneListener) voidGridFTPClient.extendedPut(String remoteFileName, long offset, DataSource source, MarkerListener mListener) Performs extended store (adujsted store mode).voidGridFTPClient.extendedPut(String remoteFileName, DataSource source, MarkerListener mListener) Performs extended store (adujsted store mode with offset 0).voidGridFTPClient.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.voidGridFTPClient.extendedTransfer(String remoteSrcFile, GridFTPClient destination, String remoteDstFile, MarkerListener mListener) Performs a third-party transfer between two servers using extended block mode.voidvoidFTPClient.get(String remoteFileName, DataSink sink, MarkerListener mListener) Retrieves the file from the remote server.voidprotected HostPortFTPClient.get127Reply()Reads a GFD.47 compliant 127 reply and extracts the port information from it.voidFTPClient.get2(String remoteFileName, boolean passive, DataSink sink, MarkerListener mListener) Retrieves a file using the GFD.47 (a.k.a GridFTP2) GET command.FTPClient.getChecksum(String algorithm, long offset, long length, String path) implement GridFTP v2 CKSM command from GridFTP v2 Protocol DescriptionFTPClient.getChecksum(String algorithm, String path) GridFTP v2 CKSM command for the whole fileFTPClient.getCurrentDir()Returns remote current working directory.FTPClient.getFeatureList()Returns list of features supported by remote server.FTPClient.getLastModified(String filename) Returns last modification time of the specifed file.longReturns the remote file size.FTPClient.getSupportedCksumAlgorithms()According to GridFTP v2 Protocol Description checksum feature has the following syntax:voidFTPClient.goUpDir()Changes remote current working directory to the higher level.booleanFTPClient.isCksumAlgorithmSupported(String algorithm) booleanFTPClient.isFeatureSupported(String feature) Returns true if the given feature is supported by remote server, false otherwise.FTPClient.lastModified(String filename) FTPClient.list()Performs remote directory listing.Performs remote directory listing with the specified filter.Performs remote directory listing with the specified filter and modifier.voidPerforms directory listing and writes the result to the supplied data sink.Performs remote directory listing likeFTPClient.list().voidCreates remote directory.FTPClient.mlsd()Performs remote directory listing of the current directory.Performs remote directory listing on the given path.voidPerforms remote directory listing on the given path.Performs remote directory listing likeFTPClient.mlsd().voidGridFTPClient.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).Get info of a certain remote file in Mlsx format.FTPClient.nlist()Performs remote directory listing of the current directory.Performs remote directory listing on the given path.voidPerforms remote directory listing on the given path.Performs remote directory listing likeFTPClient.nlist().protected voidFTPClient.performTransfer(Command cmd, DataSink sink) voidvoidFTPClient.put(String remoteFileName, DataSource source, MarkerListener mListener) Stores file at the remote server.voidFTPClient.put(String remoteFileName, DataSource source, MarkerListener mListener, boolean append) Stores file at the remote server.voidvoidFTPClient.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.Executes arbitrary operation on the server.voidRenames remote directory.voidFTPClient.setActive()Sets remote server active, telling it to connect to the client.voidSets remote server active, telling it to connect to the given address.voidFTPClient.setChecksum(String algorithm, String value) implement GridFTP v2 SCKS command as described in GridFTP v2 Protocol DescriptionvoidGridFTPClient.setChecksum(ChecksumAlgorithm algorithm, String value) Sets the checksum values ahead of the transfervoidGridFTPClient.setDataChannelAuthentication(DataChannelAuthentication type) Sets data channel authentication mode (DCAU)voidGridFTPClient.setDataChannelProtection(int protection) Sets data channel protection level (PROT).voidFTPClient.setMode(int mode) Sets transfer mode.voidFTPClient.setOptions(Options opts) Sets the supplied options to the server.FTPClient.setPassive()Sets remote server to passive server mode.voidFTPClient.setPassiveMode(boolean passiveMode) Enables/disables passive data connections.voidFTPClient.setProtectionBufferSize(int size) Sets protection buffer size (defined in RFC 2228)voidFTPClient.setRestartMarker(RestartData restartData) Sets restart parameter of the next transfer.voidGridFTPClient.setStripedActive(HostPortList hpl) Sets remote server to striped active server mode (SPOR).GridFTPClient.setStripedPassive()Sets remote server to striped passive server mode (SPAS).voidGridFTPClient.setTCPBufferSize(int size) Sets remote server TCP buffer size, in the following way: First see if server supports "SBUF" and if so, use it.voidFTPClient.setType(int type) Sets transfer type.Executes site-specific operation (using the SITE command).longvoidFTPClient.transfer(String remoteSrcFile, FTPClient destination, String remoteDstFile, boolean append, MarkerListener mListener) Performs third-party transfer between two servers.static voidFTPClient.transfer(FTPClient source, String remoteSrcFile, FTPClient destination, String remoteDstFile, int mode, MarkerListener mListener) Performs third-party transfer between two servers.protected voidFTPClient.transferRun(BasicClientControlChannel other, MarkerListener mListener) Actual transfer management.protected voidFTPClient.transferRunSingleThread(BasicClientControlChannel other, MarkerListener mListener) protected TransferStateFTPClient.transferStart(BasicClientControlChannel other, MarkerListener mListener) protected voidFTPClient.transferWait(TransferState transferState) private booleanGridFTPClient.tryExecutingCommand(Command cmd) private booleanGridFTPClient.tryExecutingTwoCommands(Command cmd1, Command cmd2) Constructors in org.globus.ftp that throw ServerExceptionModifierConstructorDescriptionConstructs client and connects it to the remote server.GridFTPClient(String host, int port) Constructs client and connects it to the remote server. -
Uses of ServerException in org.globus.ftp.app
Methods in org.globus.ftp.app that throw ServerExceptionModifier and TypeMethodDescriptionprivate voidTransfer.setParams(GridFTPClient client, TransferParams params) Constructors in org.globus.ftp.app that throw ServerExceptionModifierConstructorDescriptionTransfer(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 ServerException in org.globus.ftp.dc
Methods in org.globus.ftp.dc that throw ServerExceptionModifier and TypeMethodDescriptionvoidTransferThreadManager.passiveConnect(DataSink sink, TransferContext context, int connections, ServerSocket serverSocket) Accept connections from the remote server, and start transfer threads that will read incoming data and store in the sink.voidTransferThreadManager.passiveConnect(DataSource source, TransferContext context, ServerSocket serverSocket) Accept connection from the remote server and start transfer thread that will read incoming data and store in the sink.voidTransferThreadManager.startTransfer(DataSink sink, TransferContext context, int connections, boolean reusable) This should be used once the remote active server connected to us.voidTransferThreadManager.startTransfer(DataSource source, TransferContext context, int connections, boolean reusable) This should be used once the remote active server connected to us. -
Uses of ServerException in org.globus.ftp.exception
Methods in org.globus.ftp.exception that return ServerExceptionModifier and TypeMethodDescriptionstatic ServerExceptionServerException.embedFTPReplyParseException(FTPReplyParseException rpe) static ServerExceptionServerException.embedFTPReplyParseException(FTPReplyParseException rpe, String message) Constructs server exception with FTPReplyParseException nested in it.static ServerExceptionServerException.embedUnexpectedReplyCodeException(UnexpectedReplyCodeException urce) static ServerExceptionServerException.embedUnexpectedReplyCodeException(UnexpectedReplyCodeException urce, String message) Constructs server exception with UnexpectedReplyCodeException nested in it. -
Uses of ServerException in org.globus.ftp.extended
Methods in org.globus.ftp.extended that throw ServerExceptionModifier and TypeMethodDescriptionvoidGridFTPControlChannel.authenticate(GSSCredential credential) Performs authentication with specified user credentials.voidGridFTPControlChannel.authenticate(GSSCredential credential, String username) Performs authentication with specified user credentials and a specific username (assuming the user dn maps to the passed username). -
Uses of ServerException in org.globus.ftp.vanilla
Methods in org.globus.ftp.vanilla that throw ServerExceptionModifier and TypeMethodDescriptionvoidTransferState.checkError()private intFTPControlChannel.checkSocketDone(Flag aborted, int ioDelay, int maxWait) Write the command to the control channel, block until reply arrives and return the reply.Write the command to the control channel, block until reply arrives and check if the command completed successfully (reply code 200).voidFTPControlChannel.open()opens the connection and returns after it is ready for communication.abstract ReplyBasicClientControlChannel.read()FTPControlChannel.read()Block until a reply is available in the control channel.FTPServerFacade.LocalControlChannel.read()protected voidFTPControlChannel.readInitialReplies()voidReturn when reply is waitingabstract voidBlock until reply is waiting in the control channel, or after timeout (maxWait), or when flag changes to true.voidBlock until one of the conditions are true: a reply is available in the control channel, timeout (maxWait) expired aborted flag changes to true.voidvoidTransferState.waitForEnd()Blocks until the transfer is complete or the transfer fails.voidTransferState.waitForStart()Blocks until the transfer begins or the transfer fails to start.