ServerDirectory Property  

Gets and sets the current working directory on the FTP server.


object.ServerDirectory [= serverdirectory ]


The ServerDirectory property specifies the name of a directory on the server. When a connection is first established with the FTP server, this property is set to the current working directory. Setting this property is equivalent to using the ChangeDirectory method.

Data Type


See Also

ChangeDirectory Method