Back to product page

RemotePath property


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

Type

A String value. Specifies the full path on the remote server.

Syntax

  • Basic
object.RemotePath [= value]
The RemotePath(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSFTP.
valueA String value.

Remarks

This property specifies the filename (or directory name) on the remote server which will be used in a call to any of the methods that require it. All of the methods that support setting the RemotePath value as an argument will also use this value as a default.

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

Platforms

Windows