CFtpConnection::SetCurrentDirectory Call this member function to change to a different directory on the FTP server.BOOL SetCurrentDirectory( LPCTSTR pstrDirName ); Parameters pstrDirName A pointer to a string containing the name of the directory. Return ValueNonzero if successful; otherwise 0. If the call fails, the Win32 function GetLastError may be called to determine the cause of the error.
Call this member function to change to a different directory on the FTP server.BOOL SetCurrentDirectory(
LPCTSTR pstrDirName
);
Parameters
pstrDirName
A pointer to a string containing the name of the directory.
Return ValueNonzero if successful; otherwise 0. If the call fails, the Win32 function GetLastError may be called to determine the cause of the error.
http://www.icaxdev.com/?p=965