IPWorks SSH 2020 Kotlin Edition

Questions / Feedback?

LocalFile Property

The path to a local file for upload/download.

Syntax

public var localFile: String?

Default Value

""

Remarks

The LocalFile property is used by the Upload and Download methods. The file will only be overwritten if the Overwrite property is set to True.

Example (Setting LocalFile)


SSHPlexControl.Localfile = "C:\localfile.txt"
SSHPlexControl.RemoteFile = "remotefile.txt"
string operationId = SSHPlexControl.Download()

SSHPlexControl.Localfile = "C:\localfile2.txt"
SSHPlexControl.RemoteFile = "folder/remotefile2.txt"
string operationId = SSHPlexControl.Download()

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks SSH 2020 Kotlin Edition - Version 20.0 [Build 7941]