Partilhar via


FtpClientConnection.DeleteFiles Method

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

'Declaration
Public Sub DeleteFiles ( _
    remoteFiles As String() _
)
public void DeleteFiles (
    string[] remoteFiles
)
public:
void DeleteFiles (
    array<String^>^ remoteFiles
)
public void DeleteFiles (
    String[] remoteFiles
)
public function DeleteFiles (
    remoteFiles : String[]
)

Parameters

  • remoteFiles
    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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

FtpClientConnection Class
FtpClientConnection Members
Microsoft.SqlServer.Dts.Runtime Namespace