FtpClientConnection.DeleteFiles Method (String )
Applies To: SQL Server 2016 Preview
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)
Syntax
public void DeleteFiles(
string[] remoteFiles
)
public:
void DeleteFiles(
array<String^>^ remoteFiles
)
member DeleteFiles :
remoteFiles:string[] -> unit
Public Sub DeleteFiles (
remoteFiles As String()
)
Parameters
remoteFiles
Type: System.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.
See Also
FtpClientConnection Class
Microsoft.SqlServer.Dts.Runtime Namespace
Return to top