|
Secure iNet Factory | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | |
com.jscape.inet.ftps |
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. |
abstract void |
FtpImplementation.changePassword(java.lang.String oldPassword,
java.lang.String newPassword)
Changes the password. |
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. |
abstract void |
FtpImplementation.connect()
Connects to FTP server and performs login. |
void |
Ftp.connect(boolean login)
Connects to FTP server and optionally performs login. |
abstract void |
FtpImplementation.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. |
abstract void |
FtpImplementation.deleteDir(java.lang.String remoteName,
boolean recurse)
Deletes directory from FTP server. |
void |
Ftp.deleteFile(java.lang.String remoteFile)
Deletes remote file from FTP server. |
abstract void |
FtpImplementation.deleteFile(java.lang.String remoteName)
Deletes remote file from FTP server. |
abstract void |
FtpImplementation.dirUp()
Sets current directory on FTP server to parent directory. |
void |
Ftp.download(java.io.OutputStream out,
java.lang.String remoteFile)
Downloads file from FTP server and writes contents to provided OutputStream . |
abstract void |
FtpImplementation.download(java.io.OutputStream out,
java.lang.String remoteName,
long off)
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. |
abstract java.lang.String |
FtpImplementation.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. |
abstract java.util.Vector |
FtpImplementation.getDirListing(java.lang.String filter)
Gets directory listing from FTP server. |
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.lang.String |
FtpImplementation.getDirListingAsString(java.lang.String filter)
Gets file 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. |
abstract java.util.Vector |
FtpImplementation.getFeatures()
Returns supported server features. |
long |
Ftp.getFilesize(java.lang.String remoteFile)
Gets filesize of remote file from FTP server as represented in ASCII. |
abstract long |
FtpImplementation.getFileSize(java.lang.String remoteName)
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. |
abstract java.util.Date |
FtpImplementation.getFileTimeStamp(java.lang.String remoteName)
Gets date/timestamp of remote file from FTP server This feature is not supported by RFC-959 so may not work on all FTP servers. |
java.io.InputStream |
FtpConnection.getInputStream()
Returns connection input stream. |
java.io.InputStream |
SocketConnection.getInputStream()
Returns connection input stream. |
java.io.InputStream |
Ftp.getInputStream(java.lang.String remoteFile,
long pos)
Gets an InputStream from FTP server for the purposes of downloading a file. |
abstract java.io.InputStream |
FtpImplementation.getInputStream(java.lang.String remoteName,
long off)
Gets the InputStream from the data connection |
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. |
abstract java.util.Vector |
FtpImplementation.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. |
abstract java.util.Vector |
FtpImplementation.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. |
abstract FtpFile |
FtpImplementation.getMachineFileListing(java.lang.String filename)
Gets the file description for the specified filename. |
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. |
abstract java.util.Vector |
FtpImplementation.getNameListing(java.lang.String filter)
|
java.io.OutputStream |
FtpConnection.getOutputStream()
Returns connection output stream. |
java.io.OutputStream |
SocketConnection.getOutputStream()
Returns connection output stream. |
abstract java.io.OutputStream |
FtpImplementation.getOutputStream(java.lang.String fileName,
boolean append,
long off)
Gets the OutputStream from the data connection |
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.util.Vector<FtpFile> |
Ftp.getRemoteFileObjectList(java.lang.String remoteDir)
Get remote file objects. |
java.lang.String |
Ftp.getSystemType()
Gets the system type of remote FTP server. |
abstract java.lang.String |
FtpImplementation.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. |
abstract java.lang.String |
FtpImplementation.issueCommand(java.lang.String command)
Issues command to FTP server. |
java.lang.String |
Ftp.issueCommandCheck(java.lang.String cmd)
Issues command to FTP server. |
abstract java.lang.String |
FtpImplementation.issueCommandCheck(java.lang.String command)
Issues command to FTP server. |
void |
Ftp.login()
Logs into FTP server after establishing a connection. |
abstract void |
FtpImplementation.login()
Logs into FTP server after establishing a connection. |
void |
Ftp.makeDir(java.lang.String newDirectory)
Makes directory on FTP server. |
abstract void |
FtpImplementation.makeDir(java.lang.String newName)
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. |
abstract java.lang.String |
FtpImplementation.noop()
Sends a NOOP (No Operation) command to FTP server. |
void |
FtpConnection.openIncoming(int timeout,
int linger)
Opens incoming connection. |
void |
SocketConnection.openIncoming(int timeout,
int linger)
Opens incoming connection. |
void |
SocketConnection.openIncoming(int timeout,
int linger,
boolean keepAlive)
Opens incoming connection. |
void |
FtpConnection.openOutgoing(java.lang.String host,
int port,
int timeout,
boolean keepAlive,
int linger,
java.lang.String proxyHost,
int proxyPort,
java.lang.String proxyUserId,
java.lang.String proxyPassword,
java.lang.String proxyType)
Opens outgoing connection. |
void |
SocketConnection.openOutgoing(java.lang.String host,
int port,
int timeout,
boolean keepAlive,
int linger,
java.lang.String proxyHost,
int proxyPort,
java.lang.String proxyUserId,
java.lang.String proxyPassword,
java.lang.String proxyType)
Opens outgoing connection. |
void |
SocketConnection.openOutgoing(java.lang.String host,
int port,
int timeout,
int linger)
Opens outgoing connection. |
void |
FtpConnection.openOutgoing(java.lang.String host,
int port,
int timeout,
int linger,
boolean keepAlive)
Opens outgoing connection. |
void |
SocketConnection.openOutgoing(java.lang.String host,
int port,
int timeout,
int linger,
boolean keepAlive)
Opens outgoing connection. |
void |
SocketConnection.openOutgoing(java.lang.String host,
int port,
int timeout,
int linger,
java.lang.String proxyHost,
int proxyPort,
java.lang.String proxyUserId,
java.lang.String proxyPassword,
java.lang.String proxyType)
Opens outgoing connection. |
void |
FtpConnection.prepareIncoming(int dataPortStart,
int dataPortEnd,
int timeout)
Prepares incoming connection. |
void |
SocketConnection.prepareIncoming(int dataPortStart,
int dataPortEnd,
int timeout)
Prepares incoming connection. |
void |
Ftp.readResponse()
Reads server response. |
abstract void |
FtpImplementation.readResponse()
Reads server response |
void |
Ftp.renameFile(java.lang.String remoteFile,
java.lang.String newFile)
Renames remote file on FTP server. |
abstract void |
FtpImplementation.renameFile(java.lang.String remoteName,
java.lang.String newName)
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. |
abstract void |
FtpImplementation.setDir(java.lang.String remoteName)
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. |
abstract void |
FtpImplementation.setFileCreationTime(java.lang.String remoteName,
java.util.Date dateFile)
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. |
abstract void |
FtpImplementation.setFileModificationTime(java.lang.String remoteName,
java.util.Date dateFile)
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. |
abstract void |
FtpImplementation.setFileTimeStamp(java.lang.String remoteName,
java.util.Date dateFile)
Sets date/timestamp of remote file from FTP server This feature is not supported by RFC-959 so may not work on all FTP servers. |
void |
Ftp.setNATAddress(java.lang.String ipAddress)
Sets a NAT address which will be used for PASV file transfers. |
abstract void |
FtpImplementation.setNATAddress(java.lang.String ipAddress)
Sets a NAT address which will be used after PASV command. |
abstract void |
FtpImplementation.setTransferMode(int mode)
Sets transfer mode. |
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. |
abstract java.lang.String |
FtpImplementation.upload(java.io.InputStream in,
java.lang.String remoteName,
boolean append,
long off,
long total,
boolean unique)
Uploads data 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. |
abstract java.lang.String |
FtpImplementation.uploadUnique(java.io.InputStream in,
java.lang.String fileName)
Uploads the data as file to be created in the current directory under a name unique to that directory |
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 |
FtpsClient.abort()
The FTP ABOR command. |
void |
FtpsClient.account(java.lang.String account)
The FTP ACCT command. |
void |
FtpsClient.allocate(int size)
The FTP ALLO command. |
void |
FtpsClient.allocate(int size,
int optionsSize)
The FTP ALLO command. |
java.net.Socket |
FtpsClient.append(java.lang.String fileName)
The FTP APPE command. |
void |
Ftps.ConnectionStrategy.authenticate(FtpsClient client,
java.lang.String user,
java.lang.String password,
java.lang.String account)
Performs user authentication. |
void |
FtpsClient.authorize(java.lang.String method)
The FTP AUTH TLS command. |
void |
FtpsClient.bufferSize()
The FTP PBSZ 0 command. |
void |
Ftps.changePassword(java.lang.String oldPassword,
java.lang.String newPassword)
Changes the password for current account. |
void |
FtpsClient.changeToParentDirectory()
The FTP CDUPcommand. |
void |
FtpsClient.changeWorkingDirectory(java.lang.String directory)
The FTP CWD command. |
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 |
FtpsClient.clear()
The FTP CCC command. |
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. |
static FtpsClient |
FtpsClient.createProtected(Ftps source,
ConnectionParameters parameters,
javax.net.ssl.SSLContext context,
java.lang.String[] enabledCiphers,
Logger logger)
|
static FtpsClient |
FtpsClient.createUnprotected(Ftps source,
ConnectionParameters parameters,
javax.net.ssl.SSLContext context,
java.lang.String[] enabledCiphers,
Logger logger)
|
void |
FtpsClient.dataPort(int dataPortStart,
int dataPortEnd)
The FTP PORT command. |
void |
FtpsClient.delete(java.lang.String fileName)
The FTP DELE command. |
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. |
void |
FtpsClient.fileStructure(char fileStructure)
The FTP STRU command. |
javax.net.ssl.SSLContext |
ContextFactory.getContext()
Returns the SSL context instance. |
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.getNATAddress()
Get the NAT address. |
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 |
FtpsClient.help(java.lang.String option)
The FTP HELP command. |
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. |
java.net.Socket |
FtpsClient.list(java.lang.String path)
The FTP LIST command. |
void |
Ftps.login()
Logs into FTP server after establishing a connection. |
void |
Ftps.makeDir(java.lang.String newDirectory)
Makes directory on FTP server. |
void |
FtpsClient.makeDirectory(java.lang.String directoryName)
The FTP MKD command. |
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. |
java.net.Socket |
FtpsClient.mlsd(java.lang.String dirname)
|
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.net.Socket |
FtpsClient.nameList(java.lang.String path)
The FTP NLST command. |
java.lang.String |
Ftps.noop()
Sends a NOOP (No Operation) command to FTP server. |
Response |
FtpsClient.noop()
The FTP NOOP command. |
void |
FtpsClient.passive(boolean firewall)
The FTP PASV command. |
Response |
FtpsClient.password(java.lang.String password)
The FTP PASS command. |
java.lang.String |
FtpsClient.printWorkingDirectory()
The FTP PWD command. |
void |
FtpsClient.protectionLevel(char level)
The FTP PROT command. |
void |
FtpsClient.quit()
The FTP QUIT command. |
static Response |
Response.readFrom(java.io.BufferedReader in)
Reads the FTP response from the input stream. |
java.lang.String |
Ftps.readResponse()
Reads response from FTP server. |
Response |
FtpsClient.readResponse()
Reads the server response skipping all preliminary responses. |
void |
FtpsClient.reinitialize()
The FTP REIN command. |
void |
FtpsClient.removeDirectory(java.lang.String directoryName)
The FTP RMD command. |
void |
FtpsClient.rename(java.lang.String oldName,
java.lang.String newName)
The FTP RNFR and RNTO commands. |
void |
Ftps.renameFile(java.lang.String remoteFile,
java.lang.String newFile)
Renames remote file on FTP server. |
void |
FtpsClient.representationType(java.lang.String type)
The FTP TYPE command. |
void |
FtpsClient.restart(java.lang.String serverMarker)
The FTP REST command. |
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. |
java.net.Socket |
FtpsClient.retrieve(java.lang.String fileName)
The FTP RETR command. |
void |
FtpsClient.sendCommand(java.lang.String command)
Sends command to the server. |
Response |
FtpsClient.sendRequest(java.lang.String command)
Sends the request to the 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 |
ContextFactory.setCertificates(java.security.KeyStore keyStore)
|
void |
ContextFactory.setCertificates(java.lang.String filename,
java.lang.String password)
Setups the trusted certificates. |
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 |
ContextFactory.setKeys(java.security.KeyStore keyStore,
java.lang.String password)
|
void |
ContextFactory.setKeys(java.lang.String filename,
java.lang.String password)
Setups the client SSL keys. |
void |
Ftps.setNATAddress(java.lang.String ipAddress)
Sets a NAT address which will be used for PASV file transfers. |
void |
FtpsClient.setNATAddress(java.lang.String ipAddress)
Sets a NAT address which will be used after PASV command. |
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. |
java.lang.String |
FtpsClient.siteParameters()
The FTP SITE command. |
java.lang.String |
FtpsClient.status(java.lang.String path)
The FTP STAT command. |
java.net.Socket |
FtpsClient.store(java.lang.String fileName)
The FTP STOR command. |
java.net.Socket |
FtpsClient.storeUnique(java.lang.String fileName)
The FTP STOU command. |
void |
FtpsClient.structureMount(java.lang.String structure)
The FTP SMNT command. |
java.lang.String |
FtpsClient.system()
The FTP SYST command. |
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 |
FtpsClient.transferMode(java.lang.String mode)
The FTP TYPE command. |
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. |
Response |
FtpsClient.userName(java.lang.String name)
The FTP USER command. |
|
Secure iNet Factory | |||||||||
PREV NEXT | FRAMES NO FRAMES |