FtpClientConnection.DeleteFiles Method (String[])

 

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

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public void DeleteFiles(
	string[] remoteFiles
)

Parameters

remoteFiles
Type: System.String[]

The remote files to be deleted.

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

Return to top
Show: