Back to product page

LocalPath property


Holds name of local path used for transferring files.

Type

String.

Syntax

  • C#
  • VB.NET
String LocalPath {get; set; };

Property LocalPath As String

Remarks

This property specifies filename (or directory name) on local computer which will be used in a call to any of methods that require it. All the methods support setting LocalPath value as argument while calling the method, but you can also specify it here.

For example, GetFile method have two optional arguments: LocalPath and RemoteFile. If you don't set LocalPath argument - you should specify it in this property prior to calling the method. If you specify it as the argument, wodSFTP.NET will overwrite LocalPath property with the value you entered as the argument.

Platforms

Windows