FtpCreateDirectory
'
' Minimum Availability : Internet Explorer 3.0
'
' Parameters:
' ¯¯¯¯¯¯¯¯¯¯¯
' hConnect [in] Valid HINTERNET handle returned by a previous call to InternetConnect using INTERNET_SERVICE_FTP.
' lpszDirectory [in] Address of a null-terminated string that contains the name of the directory to create on the remote system. This can be either a fully qualified path or a name relative to the current directory.
'
' Return:
' ¯¯¯¯¯¯¯
' Returns TRUE if successful, or FALSE otherwise. To get a specific error message, call GetLastError . If the error message indicates that the FTP server denied the request to create a directory, use InternetGetLastResponseInfo to determine why.
' ____________________________________________________________________________________________________________
' BOOL FtpCreateDirectory (HINTERNET hConnect, LPCTSTR lpszDirectory);
'=============================================================================================================
Public Declare Function FtpCreateDirectory Lib "WININET.DLL" Alias "FtpCreateDirectoryA" (ByVal hConnect As Long, ByVal lpszDirectory As String) As Long 'BOOL
Partager