com.infoteria.asteria.connection
インタフェース FTPConnection.Client
- 既知の実装クラスの一覧:
- FTPConnection.FTPClient, FTPConnection.SFTPClient
- 含まれているクラス:
- com.infoteria.asteria.connection.FTPConnection
- public static interface FTPConnection.Client
|
メソッドの概要 |
void |
addFtpListener(com.jscape.inet.ftp.FtpListener listener)
|
void |
connect()
|
void |
deleteDir(String dir)
|
void |
deleteDir(String dir,
boolean recurse)
|
void |
deleteFile(String remoteFile)
|
void |
disconnect()
|
void |
download(String remoteFile)
|
void |
download(String localFile,
String remoteFile)
|
String |
getDir()
|
Enumeration |
getDirListing()
|
Enumeration |
getDirListing(String filter)
|
String |
getDirListingAsString()
|
String |
getDirListingAsString(String filter)
|
Enumeration |
getDirListingRegex(String filter)
|
long |
getFilesize(String remoteFile)
|
Date |
getFileTimestamp(String remoteFile)
|
File |
getLocalDir()
|
Enumeration |
getNameListing()
|
Enumeration |
getNameListing(String filter)
|
int |
getResponseCode()
|
String |
getSystemType()
|
boolean |
isConnected()
|
void |
issueCommandCheck(String command)
|
void |
makeDir(String dir)
|
String |
noop()
|
void |
removeFtpListener(com.jscape.inet.ftp.FtpListener listener)
|
void |
renameFile(String remoteFile,
String newFile)
|
void |
setAscii()
|
void |
setBinary()
|
void |
setDir(String dir)
|
void |
setLocalDir(File dir)
|
void |
setPassive(boolean passive)
|
void |
setTimeout(int timeout)
|
void |
setWireEncoding(String encoding)
|
void |
upload(byte[] data,
String remoteFile)
|
void |
upload(byte[] data,
String remoteFile,
boolean append)
|
void |
upload(File localFile,
String remoteFile)
|
void |
upload(File localFile,
String remoteFile,
boolean append)
|
void |
upload(InputStream inputstream,
String remoteFile)
|
void |
upload(InputStream inputstream,
String remoteFile,
boolean append)
|
void |
upload(String localFile)
|
void |
upload(String localFile,
String remoteFile)
|
void |
upload(String localFile,
String remoteFile,
boolean append)
|
setPassive
public void setPassive(boolean passive)
setTimeout
public void setTimeout(int timeout)
setWireEncoding
public void setWireEncoding(String encoding)
connect
public void connect()
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
disconnect
public void disconnect()
isConnected
public boolean isConnected()
addFtpListener
public void addFtpListener(com.jscape.inet.ftp.FtpListener listener)
removeFtpListener
public void removeFtpListener(com.jscape.inet.ftp.FtpListener listener)
noop
public String noop()
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getDir
public String getDir()
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getDirListing
public Enumeration getDirListing()
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getDirListing
public Enumeration getDirListing(String filter)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getDirListingAsString
public String getDirListingAsString()
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getDirListingAsString
public String getDirListingAsString(String filter)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getDirListingRegex
public Enumeration getDirListingRegex(String filter)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getNameListing
public Enumeration getNameListing()
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getNameListing
public Enumeration getNameListing(String filter)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getFilesize
public long getFilesize(String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getFileTimestamp
public Date getFileTimestamp(String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getResponseCode
public int getResponseCode()
makeDir
public void makeDir(String dir)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
deleteDir
public void deleteDir(String dir)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
deleteDir
public void deleteDir(String dir,
boolean recurse)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
setDir
public void setDir(String dir)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getLocalDir
public File getLocalDir()
setLocalDir
public void setLocalDir(File dir)
setAscii
public void setAscii()
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
setBinary
public void setBinary()
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
issueCommandCheck
public void issueCommandCheck(String command)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
deleteFile
public void deleteFile(String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
renameFile
public void renameFile(String remoteFile,
String newFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
download
public void download(String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
download
public void download(String localFile,
String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(byte[] data,
String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(byte[] data,
String remoteFile,
boolean append)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(InputStream inputstream,
String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(InputStream inputstream,
String remoteFile,
boolean append)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(File localFile,
String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(File localFile,
String remoteFile,
boolean append)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(String localFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(String localFile,
String remoteFile)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
upload
public void upload(String localFile,
String remoteFile,
boolean append)
throws com.jscape.inet.sftp.SftpException,
com.jscape.inet.ftp.FtpException
getSystemType
public String getSystemType()
throws com.jscape.inet.ftp.FtpException,
com.jscape.inet.sftp.SftpException