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 full path to a 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, wodFtpDLX.NET will overwrite LocalPath property with the value you entered as the argument.

Remember: LocalPath must contain absolute path at all times. You must use something like C:\home\joe\file.txt instead of relative joe\file.txt

Platforms

Windows