Secure FTP Factory

Uses of Class
com.jscape.inet.ftp.FtpException

Packages that use FtpException
com.jscape.filetransfer Contains wrapper classes for all file transfer protocols including FTP, SFTP (FTP over SSH) and FTPS (FTP over SSL) 
com.jscape.inet.ftp Contains client classes for communicating with a standard FTP server. 
com.jscape.inet.ftps Contains client classes for communicating with a FTP server using FTPS (FTP over SSL) 
 

Uses of FtpException in com.jscape.filetransfer
 

Methods in com.jscape.filetransfer that throw FtpException
 java.lang.String FtpTransfer.getLocalChecksum(java.io.File localFile)
          Returns local checksum.
 java.lang.String FtpsTransfer.getLocalChecksum(java.io.File localFile)
          Returns local checksum.
 java.lang.String FtpTransfer.getRemoteFileChecksum(java.lang.String remoteFile)
          Returns remote file checksum.
 java.lang.String FtpsTransfer.getRemoteFileChecksum(java.lang.String remoteFile)
          Returns remote file checksum.
 

Uses of FtpException in com.jscape.inet.ftp
 

Subclasses of FtpException in com.jscape.inet.ftp
 class FtpConnectionLostException
          Thrown when a connection to FTP server is unexpectedly lost.
 class FtpTimeoutException
          Thrown when a network timeout is encountered when trying to connect or transfer a file.
 

Methods in com.jscape.inet.ftp that throw FtpException
 void Ftp.changePassword(java.lang.String oldPassword, java.lang.String newPassword)
          Changes password for current account.
 boolean Ftp.checksum(byte[] data, java.lang.String remoteFile)
          Compares checksum of the local data and remote file.
 boolean Ftp.checksum(java.io.File localfile, java.lang.String remoteFile)
          Compares checksum of the local and remote files.
 void Ftp.connect()
          Connects to FTP server and performs login using specified username, password and optional account.
 void Ftp.connect(boolean login)
          Connects to FTP server and optionally performs login.
 void Ftp.deleteDir(java.lang.String remoteDirectory)
          Deletes directory from FTP server.
 void Ftp.deleteDir(java.lang.String remoteDirectory, boolean recurse)
          Deletes directory from FTP server.
 void Ftp.deleteFile(java.lang.String remoteFile)
          Deletes remote file from FTP server.
 void Ftp.download(java.io.OutputStream out, java.lang.String remoteFile)
          Downloads file from FTP server and writes contents to provided OutputStream.
 java.io.File Ftp.download(java.lang.String remoteFile)
          Downloads file from FTP server.
 java.io.File Ftp.download(java.lang.String localFile, java.lang.String remoteFile)
          Downloads file from FTP server.
 void Ftp.downloadDir(java.lang.String remoteDir)
          Downloads remote directory and contents recursively from FTP server.
 void Ftp.downloadDir(java.lang.String remoteDir, int retryLimit, boolean performChecksum)
          Downloads remote directory and contents from FTP server.
 void Ftp.downloadDir(java.lang.String remoteDir, int retryLimit, boolean performChecksum, int threadCount)
          Download directory.
 void Ftp.downloadDir(java.lang.String remoteDir, int retryLimit, int retryInterval, boolean performChecksum)
          Downloads remote directory and contents from FTP server.
 void Ftp.downloadDir(java.lang.String remoteDir, int retryLimit, int retryInterval, boolean performChecksum, int threadCount)
          Downloads remote directory and contents from FTP server.
 java.lang.String Ftp.getDir()
          Gets current working directory of FTP server.
 java.util.Enumeration Ftp.getDirListing()
          Gets directory listing from FTP server.
 java.util.Enumeration Ftp.getDirListing(java.lang.String filter)
          Gets file listing of files matching filter criteria.
 java.lang.String Ftp.getDirListingAsString()
          Gets raw directory listing of files on FTP server.
 java.lang.String Ftp.getDirListingAsString(java.lang.String filter)
          Gets raw directory listing of files matching filter criteria.
 java.util.Enumeration Ftp.getDirListingRegex(java.lang.String filter)
          Gets directory listing from FTP server returning only file and directory names that match the regular expression.
 java.util.Enumeration Ftp.getFeatures()
          Returns supported server features using FEAT command.
 long Ftp.getFilesize(java.lang.String remoteFile)
          Gets filesize of remote file from FTP server as represented in ASCII.
 java.util.Date Ftp.getFileTimestamp(java.lang.String remoteFile)
          Gets date/timestamp of remote file from FTP server.
 java.io.InputStream Ftp.getInputStream(java.lang.String remoteFile, long pos)
          Gets an InputStream from FTP server for the purposes of downloading a file.
 java.lang.String Ftp.getLocalChecksum(java.io.File localFile)
          Returns local checksum.
 java.util.Enumeration Ftp.getMachineDirListing(java.lang.String dirname)
          Gets file listing of specified directory using MLSD command.
 java.util.Enumeration Ftp.getMachineDirListing(java.lang.String dirname, java.lang.String regex)
          Gets file listing of specified directory using MLSD command.
 FtpFile Ftp.getMachineFileListing(java.lang.String filename)
          Gets the file description for the specified filename using MLST command.
 java.util.Enumeration Ftp.getNameListing()
          Gets directory listing of files on FTP server.
 java.util.Enumeration Ftp.getNameListing(java.lang.String filter)
          Gets directory listing of files on FTP server matching filter criteria and using NLST command.
 java.io.OutputStream Ftp.getOutputStream(java.lang.String fileName, long off, boolean append)
          Gets an OutputStream from FTP server for the purposes of uploading a file.
 java.lang.String Ftp.getRemoteFileChecksum(java.lang.String remoteFile)
          Returns remote file checksum.
 java.util.Vector Ftp.getRemoteFileList(java.lang.String remoteDir)
          Gets a remote file list fron the current directory.
 java.lang.String Ftp.getSystemType()
          Gets the system type of remote FTP server.
 boolean Ftp.isFeatureSupported(java.lang.String command)
          Looks for the command argument into the server features list to validate if it is supported.
 java.lang.String Ftp.issueCommand(java.lang.String cmd)
          Issues command to FTP server.
 java.lang.String Ftp.issueCommandCheck(java.lang.String cmd)
          Issues command to FTP server.
 void Ftp.login()
          Logs into FTP server after establishing a connection.
 void Ftp.makeDir(java.lang.String newDirectory)
          Makes directory on FTP server.
 void Ftp.makeDirRecursive(java.lang.String newDirectory)
          Makes directory on FTP server, creating subdirectories if necessary.
 void Ftp.mdelete(java.lang.String filter)
          Deletes multiple files matching regular expression in FTP server's current directory.
 void Ftp.mdownload(java.util.Enumeration fileNames)
          Downloads specified files in current working remote directory from FTP server to local directory.
 void Ftp.mdownload(java.lang.String filter)
          Downloads multiple files matching regular expression from FTP server current directory.
 void Fxp.mtransfer(Ftp source, Ftp destination, java.lang.String filter)
          Transfer files matching regular expression from source FTP server to destination FTP server.
 void Ftp.mupload(java.util.Enumeration fileNames)
          Uploads multiple files to FTP server.
 void Ftp.mupload(java.lang.String filter)
          Uploads multiple files matching regular expression to FTP server's current directory.
 java.lang.String Ftp.noop()
          Sends a NOOP (No Operation) command to FTP server.
 void Ftp.readResponse()
          Reads server response.
 void Ftp.renameFile(java.lang.String remoteFile, java.lang.String newFile)
          Renames remote file on FTP server.
 java.io.File Ftp.resumeDownload(java.lang.String remoteFile, long off)
          Resumes download of file from FTP server.
 java.io.File Ftp.resumeDownload(java.lang.String localFile, java.lang.String remoteFile, long off)
          Resumes download of file from FTP server.
 void Ftp.resumeUpload(java.io.File localFile, long off)
          Resumes upload of file to FTP server.
 void Ftp.resumeUpload(java.io.File localFile, java.lang.String remoteFile, long off)
          Resumes upload of file to FTP server.
 void Ftp.resumeUpload(java.lang.String localFile, long off)
          Resumes upload of file to FTP server.
 void Ftp.resumeUpload(java.lang.String localFile, java.lang.String remoteFile, long off)
          Resumes upload of file to FTP server.
 void Ftp.setAscii()
          Sets data transfer mode to ASCII.
 void Ftp.setBinary()
          Sets data transfer mode to binary.
 void Ftp.setDir(java.lang.String remoteDirectory)
          Sets current directory on FTP server.
 void Ftp.setDirUp()
          Sets current directory on FTP server to parent directory.
 void Ftp.setFileCreationTime(java.lang.String remoteName, java.util.Date date)
          Sets file creation time with a new value.
 void Ftp.setFileModificationTime(java.lang.String remoteName, java.util.Date date)
          Sets the file modification time with a new value.
 void Ftp.setFileTimestamp(java.lang.String remoteFile, java.util.Date dateFile)
          Sets date/timestamp of remote file on FTP server.
 void Ftp.setNATAddress(java.lang.String ipAddress)
          Sets a NAT address which will be used for PASV file transfers.
 void Fxp.transfer(Ftp source, Ftp destination, java.lang.String filename)
          Transfer file from source FTP server to destination FTP server
 void Fxp.transferDir(Ftp source, Ftp destination, java.lang.String dir)
          Transfer directory from source FTP server to destination FTP server
 void Ftp.upload(byte[] data, java.lang.String remoteFile)
          Uploads file to FTP server where contents of file is not on disk but in memory.
 void Ftp.upload(byte[] data, java.lang.String remoteFile, boolean append)
          Uploads file to FTP server where contents of file is not on disk but in memory.
 void Ftp.upload(java.io.File localFile)
          Uploads file to FTP server.
 void Ftp.upload(java.io.File localFile, boolean append)
          Uploads file to FTP server.
 void Ftp.upload(java.io.File localFile, java.lang.String remoteFile)
          Uploads file to FTP server.
 void Ftp.upload(java.io.File localFile, java.lang.String remoteFile, boolean append)
          Uploads file to FTP server.
 void Ftp.upload(java.io.InputStream input, java.lang.String remoteFile)
          Uploads file to FTP server.
 void Ftp.upload(java.io.InputStream input, java.lang.String remoteFile, boolean append)
          Uploads file to FTP server.
 void Ftp.upload(java.lang.String localFile)
          Uploads file to FTP server.
 void Ftp.upload(java.lang.String localFile, boolean append)
          Uploads file to FTP server.
 void Ftp.upload(java.lang.String extension, java.io.File localFile)
          Uploads file to FTP server and renames the remote file name.
 void Ftp.upload(java.lang.String localFile, java.lang.String remoteFile)
          Uploads file to FTP server.
 void Ftp.upload(java.lang.String localFile, java.lang.String remoteFile, boolean append)
          Uploads file to FTP server.
 void Ftp.uploadDir(java.io.File localDir)
          Uploads local directory and contents recursively to FTP server.
 void Ftp.uploadDir(java.io.File localDir, int retryLimit, boolean performChecksum)
          Uploads local directory and contents to FTP server.
 void Ftp.uploadDir(java.io.File localDir, int retryLimit, boolean performChecksum, java.lang.String extension, int threadCount)
           
 void Ftp.uploadDir(java.io.File localDir, int retryLimit, int retryInterval, boolean performChecksum, java.lang.String extension)
          Uploads local directory and contents to FTP server.
 void Ftp.uploadDir(java.io.File localDir, int retryLimit, int retryInterval, boolean performChecksum, java.lang.String extension, int threadCount)
          Uploads local directory and contents to FTP server.
 void Ftp.uploadDir(java.io.File localDir, java.lang.String extension)
          Uploads local directory and contents recursively to FTP server.
 java.lang.String Ftp.uploadUnique(java.io.File file)
          Uploads file to FTP server storing remotely using a unique name.
 java.lang.String Ftp.uploadUnique(java.io.File file, boolean useFilenameAsSeed)
          Uploads file to FTP server storing remotely using a unique name.
 java.lang.String Ftp.uploadUnique(java.io.InputStream in, java.lang.String fileName)
          Uploads file to FTP server storing remotely using a unique name.
 java.lang.String Ftp.uploadUnique(java.lang.String fileName)
          Uploads file to FTP server storing remotely using a unique name.
 java.lang.String Ftp.uploadUnique(java.lang.String fileName, boolean useFilenameAsSeed)
          Uploads file to FTP server storing remotely using a unique name.
 

Uses of FtpException in com.jscape.inet.ftps
 

Methods in com.jscape.inet.ftps that throw FtpException
 void Ftps.ConnectionStrategy.authenticate(FtpsClient client, java.lang.String user, java.lang.String password, java.lang.String account)
          Performs user authentication.
 void Ftps.changePassword(java.lang.String oldPassword, java.lang.String newPassword)
          Changes the password for current account.
 boolean Ftps.checksum(byte[] data, java.lang.String remoteFile)
          Compares checksum of the local data and remote file.
 boolean Ftps.checksum(java.io.File localfile, java.lang.String remoteFile)
          Compares checksum of the local and remote files.
 void Ftps.clearCommandChannel()
          Clears command channel.
 void Ftps.connect()
          Connects to FTP server and performs login.
 void Ftps.connect(boolean login)
          Connects to FTP server and optionally performs login.
 FtpsClient Ftps.ConnectionStrategy.createClient(Ftps source, ConnectionParameters parameters, javax.net.ssl.SSLContext ctx, java.lang.String[] enabledCiphers, Logger logger)
          Creates an appropriate FTP client.
 void Ftps.deleteDir(java.lang.String remoteDirectory)
          Deletes directory from FTP server.
 void Ftps.deleteDir(java.lang.String remoteDirectory, boolean recurse)
          Deletes directory from FTP server.
 void Ftps.deleteFile(java.lang.String remoteFile)
          Deletes remote file from FTP server.
 void Ftps.download(java.io.OutputStream out, java.lang.String remoteFile)
          Downloads file from FTP server and writes contents to provided OutputStream.
 java.io.File Ftps.download(java.lang.String remoteFile)
          Downloads file from FTP server.
 java.io.File Ftps.download(java.lang.String localFile, java.lang.String remoteFile)
          Downloads file from FTP server.
 void Ftps.downloadDir(java.lang.String remoteDir)
          Downloads remote directory and contents recursively from FTP server.
 void Ftps.downloadDir(java.lang.String remoteDir, int retryLimit, boolean performChecksum)
          Downloads remote directory and contents recursively from FTP server.
 void Ftps.downloadDir(java.lang.String remoteDir, int retryLimit, boolean performChecksum, int threadCount)
          Download directory.
 void Ftps.downloadDir(java.lang.String remoteDir, int retryLimit, int retryInterval, boolean performChecksum)
          Downloads remote directory and contents recursively from FTP server.
 void Ftps.downloadDir(java.lang.String remoteDir, int retryLimit, int retryInterval, boolean performChecksum, int threadCount)
          Downloads remote directory and contents from FTP server.
 java.lang.String Ftps.getDir()
          Gets current working directory of FTP server.
 java.util.Enumeration Ftps.getDirListing()
          Gets directory listing from FTP server.
 java.util.Enumeration Ftps.getDirListing(java.lang.String filter)
          Gets file listing of files matching filter criteria.
 java.lang.String Ftps.getDirListingAsString()
          Gets raw directory listing of files on FTP server.
 java.lang.String Ftps.getDirListingAsString(java.lang.String filter)
          Gets raw directory listing of files matching filter criteria.
 java.util.Enumeration Ftps.getDirListingRegex(java.lang.String filter)
          Gets directory listing from FTP server returning only file and directory names that match the regular expression.
 java.util.Enumeration Ftps.getFeatures()
          Returns supported server features.
 long Ftps.getFilesize(java.lang.String remoteFile)
          Gets filesize of remote file from FTP server as represented in ASCII.
 java.util.Date Ftps.getFileTimestamp(java.lang.String remoteFile)
          Gets date/timestamp of remote file from FTP server.
 java.lang.String Ftps.getLocalChecksum(java.io.File localFile)
          Returns local checksum.
 java.util.Enumeration Ftps.getMachineDirListing(java.lang.String dirname)
          Gets directory listing using MLSD command.
 java.util.Enumeration Ftps.getMachineDirListing(java.lang.String dirname, java.lang.String filter)
          Gets file listing of specified directory using MLSD command.
 FtpFile Ftps.getMachineFileListing(java.lang.String filename)
          Gets the file description for the specified filename using MLST command.
 java.util.Enumeration Ftps.getNameListing()
          Gets directory listing of files on FTP server using NLST command.
 java.util.Enumeration Ftps.getNameListing(java.lang.String filter)
          Gets directory listing of files on FTP server matching filter criteria and using NLST command.
 java.lang.String Ftps.getRemoteFileChecksum(java.lang.String remoteFile)
          Returns remote file checksum.
 java.util.Vector Ftps.getRemoteFileList(java.lang.String remoteDir)
          Gets all the remote files from the current directory and subdirectories.
 java.lang.String Ftps.getSystemType()
          Gets the system type of remote FTP server.
 java.lang.String Ftps.issueCommand(java.lang.String cmd)
          Issues the command to FTP server.
 java.lang.String Ftps.issueCommandCheck(java.lang.String cmd)
          Issues command to FTP server.
 void Ftps.login()
          Logs into FTP server after establishing a connection.
 void Ftps.makeDir(java.lang.String newDirectory)
          Makes directory on FTP server.
 void Ftps.makeDirRecursive(java.lang.String newDirectory)
          Makes directory on FTP server, creating subdirectories if necessary.
 void Ftps.mdelete(java.lang.String filter)
          Deletes multiple files matching regular in FTP server's current directory.
 void Ftps.mdownload(java.util.Enumeration fileNames)
          Downloads specified files in current working remote directory from FTP server to local directory.
 void Ftps.mdownload(java.lang.String filter)
          Downloads multiple files matching regular expression from FTP server's current directory.
 void Fxps.mtransfer(Ftps source, Ftps destination, java.lang.String filter)
          Transfer files matching filter from source FTP server to destination FTP server
 void Ftps.mupload(java.util.Enumeration fileNames)
          Uploads multiple files to FTP server Uploads are performed relative to current local directory.
 void Ftps.mupload(java.lang.String filter)
          Uploads multiple files matching regular expression to FTP server's current directory.
 java.lang.String Ftps.noop()
          Sends a NOOP (No Operation) command to FTP server.
 java.lang.String Ftps.readResponse()
          Reads response from FTP server.
 void Ftps.renameFile(java.lang.String remoteFile, java.lang.String newFile)
          Renames remote file on FTP server.
 java.io.File Ftps.resumeDownload(java.lang.String remoteFile, long off)
          Resumes download of file from FTP server.
 java.io.File Ftps.resumeDownload(java.lang.String localFile, java.lang.String remoteFile, long off)
          Resumes download of file from FTP server.
 void Ftps.resumeUpload(java.io.File localFile, long off)
          Resumes upload of file to FTP server.
 void Ftps.resumeUpload(java.io.File localFile, java.lang.String remoteFile, long off)
          Resumes upload of file to FTP server.
 void Ftps.resumeUpload(java.lang.String localFile, long off)
          Resumes upload of file to FTP server.
 void Ftps.resumeUpload(java.lang.String localFile, java.lang.String remoteFile, long off)
          Resumes upload of file to FTP server.
 void Ftps.setAscii()
          Sets data transfer mode to ASCII.
 void Ftps.setAuto(boolean auto)
          Sets data transfer mode to automatic detect.
 void Ftps.setBinary()
          Sets data transfer mode to binary.
 void Ftps.setClientCertificates(java.security.KeyStore keystore, java.lang.String password)
          Sets optional client certificate to be used during authentication.
 void Ftps.setClientCertificates(java.lang.String filename, java.lang.String password)
          Sets optional client certificate to be used during authentication.
 void Ftps.setClientCertificates(java.lang.String filename, java.lang.String password, java.lang.String storetype)
          Sets optional client certificate to be used during authentication.
 void Ftps.setDir(java.lang.String remoteDirectory)
          Sets current directory on FTP server.
 void Ftps.setDirUp()
          Sets current directory on FTP server to parent directory.
 void Ftps.setFileCreationTime(java.lang.String remoteName, java.util.Date date)
          Sets file creation time with a new value.
 void Ftps.setFileModificationTime(java.lang.String remoteName, java.util.Date date)
          Sets the file modification time with a new value.
 void Ftps.setFileTimestamp(java.lang.String remoteName, java.util.Date dateFile)
          Sets date/timestamp of remote file from FTP server.
 void Ftps.setNATAddress(java.lang.String ipAddress)
          Sets a NAT address which will be used for PASV file transfers.
 void Ftps.setProtectionLevel(char level)
          Changes the protection level.
 void Ftps.setServerCertificates(java.security.KeyStore keystore)
          Sets optional server certificate to be used during authentication.
 void Ftps.setServerCertificates(java.lang.String filename, java.lang.String password)
          Sets optional server certificate to be used during authentication.
 void Ftps.setServerCertificates(java.lang.String filename, java.lang.String password, java.lang.String storetype)
          Sets optional server certificate to be used during authentication.
 void Fxps.transfer(Ftps source, Ftps destination, java.lang.String filename)
          Transfer file from source FTP server to destination FTP server
 void Fxps.transferDir(Ftps source, Ftps destination, java.lang.String dir)
          Transfer directory from source FTP server to destination FTP server
 void Ftps.upload(byte[] data, java.lang.String remoteFile)
          Uploads file to FTP server where contents of file is not on disk but in memory.
 void Ftps.upload(byte[] data, java.lang.String remoteFile, boolean append)
          Uploads file to FTP server where contents of file is not on disk but in memory.
 void Ftps.upload(java.io.File localFile)
          Uploads file to FTP server.
 void Ftps.upload(java.io.File localFile, boolean append)
          Uploads file to FTP server.
 void Ftps.upload(java.io.File localFile, java.lang.String remoteFile)
          Uploads file to FTP server.
 void Ftps.upload(java.io.File localFile, java.lang.String remoteFile, boolean append)
          Uploads file to FTP server.
 void Ftps.upload(java.io.InputStream input, java.lang.String remoteFile)
          Uploads contents of InputStream to FTP server.
 void Ftps.upload(java.io.InputStream input, java.lang.String remoteFile, boolean append)
          Uploads contents of InputStream to FTP server.
 void Ftps.upload(java.lang.String localFile)
          Uploads file to FTP server.
 void Ftps.upload(java.lang.String localFile, boolean append)
          Uploads file to FTP server.
 void Ftps.upload(java.lang.String extension, java.io.File localFile)
          Uploads file to FTP server using temporary extension, then renames file back to original name once uploaded.
 void Ftps.upload(java.lang.String localFile, java.lang.String remoteFile)
          Uploads file to FTP server.
 void Ftps.upload(java.lang.String localFile, java.lang.String remoteFile, boolean append)
          Uploads file to FTP server.
 void Ftps.uploadDir(java.io.File localDir)
          Uploads local directory and contents recursively to FTP server.
 void Ftps.uploadDir(java.io.File localDir, int retryLimit, boolean performChecksum)
          Uploads local directory and contents to FTP server.
 void Ftps.uploadDir(java.io.File localDir, int retryLimit, boolean performChecksum, java.lang.String extension)
          Uploads local directory and contents to FTP server.
 void Ftps.uploadDir(java.io.File localDir, int retryLimit, boolean performChecksum, java.lang.String extension, int threadCount)
          Uploads local directory and contents to FTP server.
 void Ftps.uploadDir(java.io.File localDir, int retryLimit, int retryInterval, boolean performChecksum, java.lang.String extension)
          Uploads local directory and contents to FTP server.
 void Ftps.uploadDir(java.io.File localDir, int retryLimit, int retryInterval, boolean performChecksum, java.lang.String extension, int threadCount)
          Uploads local directory and contents to FTP server.
 void Ftps.uploadDir(java.io.File localDir, java.lang.String extension)
          Uploads local directory and contents recursively to FTP server.
 java.lang.String Ftps.uploadUnique(java.io.File file)
          Uploads the file which is created in the current directory under a name unique to that directory.
 java.lang.String Ftps.uploadUnique(java.io.File file, boolean useFilenameAsSeed)
          Uploads the file which is created in the current directory under a name unique to that directory.
 java.lang.String Ftps.uploadUnique(java.io.InputStream in, java.lang.String fileName)
          Uploads the file which is created in the current directory under a name unique to that directory.
 java.lang.String Ftps.uploadUnique(java.lang.String fileName)
          Uploads the file which is created in the current directory under a name unique to that directory.
 java.lang.String Ftps.uploadUnique(java.lang.String fileName, boolean useFilenameAsSeed)
          Uploads the file which is created in the current directory under a name unique to that directory.
 


Secure FTP Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved