# Function Reference

# _FTP_FileDelete

Delete an file from an FTP server

#include <FTPEx.au3>
_FTP_FileDelete ( $hFTPSession, $sRemoteFile )

## Parameters

$hFTPSession | as returned by _FTP_Connect()
$sRemoteFile | The remote Location for the file.

## Return Value

Success: | 1.
Failure: | 0 and sets the @error flag to non-zero.

## Related

_FTP_Connect

## See Also

Search FtpDeleteFile in MSDN Library.