This function specifies the filename (or directory name) on the
remote server which will be used in calls to any of
methods that require this information. All of the methods that support setting
RemotePath as an argument to the method call can also get the value from this property.
For example, the PutFile method has
two optional arguments: LocalFile
and RemotePath. If you don't
set the RemotePath argument, you
should specify it in this property prior to calling the
method. If you specify it as the method argument, wodSFTP will
overwrite the RemotePath property with the value you entered as
the argument.
The Bufsize variable should contain the maximum data length
that can be stored in the Buffer variable. If you set Bufsize =
0, then the function will return with error
ERROR_INSUFFICIENT_BUFFER and Bufsize will contain the required
buffer size.