-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.SFTPSession.Append
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
SSH.SFTPSession.Append
Function Append(FileName As String, CreateIfMissing As Boolean = False, Mode As Integer = 0) As SSH.SFTPStream
Name | Type | Comment |
---|---|---|
FileName |
String | The name of the file on the server to be appended to. |
CreateIfMissing |
Boolean | Optional. If True , the file is created if it doesn't already exist. |
Mode |
Integer | Optional. The Unix-style permissions to apply to the file if it is created. |
Returns an instance of SFTPStream to which the file data can be appended, or Nil
on error. Check SFTPSession.LastError for error details.
Initiates an upload operation where data is appended to an existing file. If CreateIfMissing
is False
and the file doesn't exist then the operation will fail.
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.