-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.SFTPSession.Get
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
SSH.SFTPSession.Get
Function Get(FileName As String) As SSH.SFTPStream
Function Get(FileName As String, WriteTo As Writeable) As Boolean
Name | Type | Comment |
---|---|---|
FileName |
String | The name of the file to download from the server. |
Name | Type | Comment |
---|---|---|
FileName |
String | The name of the file to download from the server. |
WriteTo |
Writeable | The stream to write downloaded data to. |
Returns an SFTPStream from which the downloaded data can be read, or Nil
on error.
Returns True
if the file was downloaded successfully.
Downloads the file from the server using SFTP. Check SFTPSession.LastError for error details.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2018-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.