-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.SCPStream.Constructor
Andrew Lambert edited this page Nov 26, 2022
·
9 revisions
Sub Constructor(Session As SSH.Session, Path As String)
Sub Constructor(Session As SSH.Session, Path As String, Mode As Integer, Length As UInt32, ModTime As Integer, AccessTime As Integer)
Name | Type | Comment |
---|---|---|
Session |
Session | An active SSH session to use. |
Path |
String | The full remote path of the file being downloaded. Must not contain null bytes. |
Name | Type | Comment |
---|---|---|
Session |
Session | An active SSH session to use. |
Path |
String | The full remote path to save the upload to. Must not contain null bytes. |
Mode |
Integer | The Unix-style permissions of the remote file. |
Length |
UInt64 | The total size in bytes of the file being uploaded. |
ModTime |
Integer | The last modified time of the file, or zero. |
AccessTime |
Integer | The last accessed time of the file, or zero. |
Creates a new channel over the session for uploading or downloading over SCP. Perform the upload/download by writing/reading to this object. Make sure to call Close when finished.
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.