public class StatefulSFTPClient extends SFTPClient
engine, log, xfer| Constructor and Description |
|---|
StatefulSFTPClient(SFTPEngine engine) |
public StatefulSFTPClient(SFTPEngine engine) throws IOException
IOExceptionpublic void cd(String dirname) throws IOException
IOExceptionpublic List<RemoteResourceInfo> ls() throws IOException
IOExceptionpublic List<RemoteResourceInfo> ls(RemoteResourceFilter filter) throws IOException
IOExceptionpublic String pwd() throws IOException
IOExceptionpublic List<RemoteResourceInfo> ls(String path) throws IOException
ls in class SFTPClientIOExceptionpublic List<RemoteResourceInfo> ls(String path, RemoteResourceFilter filter) throws IOException
ls in class SFTPClientIOExceptionpublic RemoteFile open(String filename, Set<OpenMode> mode, FileAttributes attrs) throws IOException
open in class SFTPClientIOExceptionpublic RemoteFile open(String filename, Set<OpenMode> mode) throws IOException
open in class SFTPClientIOExceptionpublic RemoteFile open(String filename) throws IOException
open in class SFTPClientIOExceptionpublic void mkdir(String dirname) throws IOException
mkdir in class SFTPClientIOExceptionpublic void mkdirs(String path) throws IOException
mkdirs in class SFTPClientIOExceptionpublic FileAttributes statExistence(String path) throws IOException
statExistence in class SFTPClientIOExceptionpublic void rename(String oldpath, String newpath) throws IOException
rename in class SFTPClientIOExceptionpublic void rm(String filename) throws IOException
rm in class SFTPClientIOExceptionpublic void rmdir(String dirname) throws IOException
rmdir in class SFTPClientIOExceptionpublic void symlink(String linkpath, String targetpath) throws IOException
symlink in class SFTPClientIOExceptionpublic void setattr(String path, FileAttributes attrs) throws IOException
setattr in class SFTPClientIOExceptionpublic String readlink(String path) throws IOException
readlink in class SFTPClientIOExceptionpublic FileAttributes stat(String path) throws IOException
stat in class SFTPClientIOExceptionpublic FileAttributes lstat(String path) throws IOException
lstat in class SFTPClientIOExceptionpublic void truncate(String path, long size) throws IOException
truncate in class SFTPClientIOExceptionpublic String canonicalize(String path) throws IOException
canonicalize in class SFTPClientIOExceptionpublic void get(String source, String dest) throws IOException
get in class SFTPClientIOExceptionpublic void get(String source, LocalDestFile dest) throws IOException
get in class SFTPClientIOExceptionpublic void put(String source, String dest) throws IOException
put in class SFTPClientIOExceptionpublic void put(LocalSourceFile source, String dest) throws IOException
put in class SFTPClientIOExceptionCopyright © 2009–2014. All rights reserved.