SftpExtension extension
Methods
-
sftpCopyLocalFileToRemote(ssh_session session, String localFilefullPath, String remoteFilefullPath, {Allocator allocator = calloc})
→ Future<void>
-
Copying a local file to the remote computer
-
sftpCreateDirectory(ssh_session session, String fullRemotePath, {Allocator allocator = calloc})
→ void
-
create Directory on the remote computer
fullPath
example => "/home/helloworld"
-
sftpDownloadFileTo(ssh_session session, Pointer<Int8> ftpfile, String fullLocalPath, {void callbackStats(int total, int done)?, Pointer<sftp_session_struct>? inSftp, Allocator allocator = calloc, bool recursive = true})
→ Future<void>
-
-
sftpDownloadFileToFromRawPath(ssh_session session, Uint8List fullRemotePath, String fullLocalPath, {void callbackStats(int total, int done)?, Pointer<sftp_session_struct>? inSftp, Allocator allocator = calloc})
→ Future<void>
-
-
sftpListDir(ssh_session session, String fullRemotePath, {Allocator allocator = calloc, bool allowMalformed = false})
→ List<DirectoryItem>
-
Listing the contents of a directory
allowMalformed
allow Malformed utf8 file and directory name
-
sftpListDirFromPointer(ssh_session session, Pointer<Int8> fullRemotePath, {Allocator allocator = calloc, bool allowMalformed = false})
→ List<DirectoryItem>
-
Listing the contents of a directory
allowMalformed
allow Malformed utf8 file and directory name
-
sftpListDirFromRawPath(ssh_session session, Uint8List fullRemotePath, {Allocator allocator = calloc, bool allowMalformed = false})
→ List<DirectoryItem>
-
Listing the contents of a directory
allowMalformed
allow Malformed utf8 file and directory name