Group: Internet Functions (WinInet) - Library: wininet
Creating a directory on the FTP
Custom FTP Class for Visual FoxPro application
BOOL FtpCreateDirectory(
HINTERNET hConnect,
LPCTSTR lpszDirectory
);
DECLARE INTEGER FtpCreateDirectory IN wininet;
INTEGER hFtpSession,;
STRING lpszDirectory
hConnect [in] Valid HINTERNET handle returned by a previous call to InternetConnect using INTERNET_SERVICE_FTP
lpszDirectory [in] Pointer to a null-terminated string that contains the name of the directory to create
Returns TRUE if successful, or FALSE otherwise.
To create a directory you must have sufficient access level to the ftp server.