This function deletes a file stored on the FTP server.
BOOL WINAPI FtpDeleteFile( HINTERNET hConnect, LPCTSTR lpszFileName );
TRUE indicates success. FALSE indicates failure. To get extended error data, call GetLastError.
The lpszFile parameter can be either partially or fully qualified file names relative to the current directory. A backward slash (\) or forward slash (/) can be used as the directory separator for either name. FtpDeleteFile translates the directory name separators to the appropriate character before they are used.