Purpose
Changes to a different directory on the FTP server with the given CFtpConnection handle.
Syntax
MISetCurrentFtpDirectory( Byval hConnection As CFtpConnection,
Byval strDirName As String ) As SmallInt
hConnection is a CFtpConnection handle.
strDirName is a string that contains the name of the directory.
Return Value
Nonzero if successful; otherwise 0. To determine the cause of the failure, call the MIGetErrorMessage() function.
Description
The pDirName parameter can be either a partially or fully qualified file name relative to the current directory. A backslash (\) or forward slash (/) can be used as the directory separator for either name.
MISetCurrentFtpDirectory() translates the directory name separators to the appropriate characters before they are used.