Back to product page

RemotePath property


Holds name of path on the server used for transferring files.

Type

String.

Syntax

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

Property RemotePath As String

Remarks

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

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

Platforms

Windows