class SSH2::SFTP::Session
- SSH2::SFTP::Session
- Reference
- Object
Included Modules
Defined in:
sftp/session.crInstance Method Summary
-
#channel
Returns the underlying channel
- #close
-
#lstat(path)
Performs lstat(2) operation on
path
-
#mkdir(path, mode)
Create a directory on the remote file system.
-
#open(filename, flags = "r", mode = 0)
Opens a remote
filename
. -
#open_dir(dirname, flags = "r", mode = 0)
Opens a remote
dirname
. - #readlink(path)
-
#rename(src, dst, flags : LibSSH2::RenameFlags = RenameFlags::OVERWRITE)
Rename a filesystem object on the remote filesystem.
-
#setstat(path, attrs : Attributes)
Sets attributes on
path
-
#stat(path)
Performs stat(2) operation on
path
-
#symlink(path, target)
Create a new symlink
- #ulink(filename)
Instance methods inherited from module SSH2::SFTP::Base
closed?
closed?,
finalize
finalize,
session : SSH2::Session
session,
to_unsafe
to_unsafe
Constructor methods inherited from module SSH2::SFTP::Base
new(session, handle)
new
Instance Method Detail
Opens a remote filename
.
Returns new SFTP instance.
Opens a remote dirname
.
Returns new SFTP instance.
Rename a filesystem object on the remote filesystem.