Change the current working directory on the server.
Syntax
object.ChangeDirectory( RemotePath )
Parameters
- RemotePath
- A string which specifies the directory on the server.
The file naming conventions must be that of the host operating system.
Return Value
A value of zero is returned if the operation was successful,
otherwise a non-zero error code is returned which indicates the cause
of the failure.
Remarks
The ChangeDirectory method changes the current working
directory on the server. This function uses the CWD command to
change the current working directory. The user must have the
appropriate permission to access the specified directory.
See Also
CloseDirectory Method,
GetDirectory Method,
OpenDirectory Method,
ReadDirectory Method
|