|
FtpDeleteFile Deletes a file stored on the FTP server. VB4-32,5,6 Declare Function FtpDeleteFile Lib "wininet.dll" Alias "FtpDeleteFileA" (ByVal hFtpSession As Long, ByVal lpszFileName As String) As Boolean |
Operating Systems Supported |
Requires Windows NT 4.0 or later; Requires Windows 95 or later |
· hConnect [in] Valid HINTERNET handle returned by a previous call to InternetConnect using INTERNET_SERVICE_FTP.
· lpszFileName [in] Address of a null-terminated string that contains the name of the file to delete on the remote system. |
Returns TRUE if successful, or FALSE otherwise. To get a specific error code, call GetLastError. |
|
|
|