DeleteFile Method
Remove a file specified by FileName from an FTP server.
Syntax
public void deleteFile(String fileName);
Remarks
This method is used to remove a file specified by FileName from an FTP server. The remote file or directory specified by FileName is deleted. FileName is either an absolute path on the server, or a path relative to RemotePath. If there is no FTP session in place, one is automatically created by first calling the Logon method.