RemotePath Property  
 

Sets or returns the path specified in the current URL.

Syntax

object.RemotePath [= value ]

Remarks

The RemotePath property returns the path that was specified when the URL property was set. Changing the value of this property causes the URL to change. Note that the control does not check to make sure that the remote path is valid or that it exists on the server, it is simply a string that is part of the FTP URL.

Note that the path is relative to the user's home directory and should not be considered an absolute path from the root directory on the server. If no username and password is provided, then an anonymous session is used and the path is relative to the public directory used by the FTP server.

Data Type

String

See Also

RemoteFile Property, URL Property