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