 |
FtpCreateDirectory Add comment W32 Constants Translate this page |
 |
 |
|
Creates a new directory on the FTP server |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL FtpCreateDirectory(
HINTERNET hConnect,
LPCTSTR lpszDirectory
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER FtpCreateDirectory IN wininet;
INTEGER hFtpSession,;
STRING lpszDirectory
|
 |
 |
 |
| Parameters: |
 |
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 |
 |
 |
| Return value: |
 |
| Returns TRUE if successful, or FALSE otherwise. |
 |
 |
| Usage: |
 |
IF FtpCreateDirectory(m.hFtpSession, "newfolder") = 1
? "New directory has been created."
ELSE
? "FtpCreateDirectory failed."
ENDIF
|
 |
 |
| My comment: |
 |
| To create a directory you must have sufficient access level to the ftp server. |
 |
 |
| Word Index links for the FtpCreateDirectory : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-17 12:00:00 | | Modified: | 2007-06-11 21:51:42 | Visited in last 7 days: 17 |