Programming with FTP OLE Automation

image\rwnprg32.gif DeleteFile method

 

Syntax Object.DeleteFile RemoteFile

 

Description

Deletes a file (or files) on the FTP server. A dialog box prompting to confirm the delete action opens unless the ConfirmDelete property is set to False.

Arguments

RemoteFile Argument type: String
Required
Specifies the name of the file (or files) to delete. This string can contain wildcard characters (to delete multiple files). The wildcard characters must be appropriate for the FTP server.

FTP Script Equivalent

delete