Share via


FtpClientConnection.DeleteFiles(String[]) Method

Definition

Deletes the specified files from the File Transfer Protocol (FTP) server.

public:
 void DeleteFiles(cli::array <System::String ^> ^ remoteFiles);
public void DeleteFiles (string[] remoteFiles);
member this.DeleteFiles : string[] -> unit
Public Sub DeleteFiles (remoteFiles As String())

Parameters

remoteFiles
String[]

The remote files to be deleted.

Remarks

Wild-card characters are allowed. For example, /MyFolder/MyFiles*.* will delete all files in the MyFolder directory that start with the characters MyFiles.

Applies to