Package net.schmizz.sshj.sftp
Class StatefulSFTPClient
java.lang.Object
net.schmizz.sshj.sftp.SFTPClient
net.schmizz.sshj.sftp.StatefulSFTPClient
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
FieldsFields inherited from class net.schmizz.sshj.sftp.SFTPClient
engine, log, xfer -
Constructor Summary
ConstructorsConstructorDescriptionStatefulSFTPClient(SessionFactory sessionFactory) StatefulSFTPClient(SFTPEngine engine) -
Method Summary
Modifier and TypeMethodDescriptioncanonicalize(String path) voidprivate Stringvoidvoidget(String source, LocalDestFile dest) ls()ls(String path, RemoteResourceSelector selector) ls(String path, RemoteResourceFilter filter) ls(RemoteResourceFilter filter) voidvoidopen(String filename, Set<OpenMode> mode, FileAttributes attrs) voidvoidput(LocalSourceFile source, String dest) pwd()voidrename(String oldpath, String newpath, Set<RenameFlags> renameFlags) voidvoidvoidsetattr(String path, FileAttributes attrs) statExistence(String path) voidvoid
-
Field Details
-
cwd
-
-
Constructor Details
-
StatefulSFTPClient
- Throws:
IOException
-
StatefulSFTPClient
- Throws:
IOException
-
-
Method Details
-
cwdify
-
cd
- Throws:
IOException
-
ls
- Throws:
IOException
-
ls
- Throws:
IOException
-
pwd
- Throws:
IOException
-
ls
- Overrides:
lsin classSFTPClient- Throws:
IOException
-
ls
- Overrides:
lsin classSFTPClient- Throws:
IOException
-
ls
- Overrides:
lsin classSFTPClient- Throws:
IOException
-
open
public RemoteFile open(String filename, Set<OpenMode> mode, FileAttributes attrs) throws IOException - Overrides:
openin classSFTPClient- Throws:
IOException
-
open
- Overrides:
openin classSFTPClient- Throws:
IOException
-
open
- Overrides:
openin classSFTPClient- Throws:
IOException
-
mkdir
- Overrides:
mkdirin classSFTPClient- Throws:
IOException
-
mkdirs
- Overrides:
mkdirsin classSFTPClient- Throws:
IOException
-
statExistence
- Overrides:
statExistencein classSFTPClient- Throws:
IOException
-
rename
- Overrides:
renamein classSFTPClient- Throws:
IOException
-
rm
- Overrides:
rmin classSFTPClient- Throws:
IOException
-
rmdir
- Overrides:
rmdirin classSFTPClient- Throws:
IOException
-
symlink
- Overrides:
symlinkin classSFTPClient- Throws:
IOException
-
setattr
- Overrides:
setattrin classSFTPClient- Throws:
IOException
-
readlink
- Overrides:
readlinkin classSFTPClient- Throws:
IOException
-
stat
- Overrides:
statin classSFTPClient- Throws:
IOException
-
lstat
- Overrides:
lstatin classSFTPClient- Throws:
IOException
-
truncate
- Overrides:
truncatein classSFTPClient- Throws:
IOException
-
canonicalize
- Overrides:
canonicalizein classSFTPClient- Throws:
IOException
-
get
- Overrides:
getin classSFTPClient- Throws:
IOException
-
get
- Overrides:
getin classSFTPClient- Throws:
IOException
-
put
- Overrides:
putin classSFTPClient- Throws:
IOException
-
put
- Overrides:
putin classSFTPClient- Throws:
IOException
-