FtpClientConnection.DeleteRemoteDirectory(String) Method

Definition

Deletes a remote directory.

public:
 void DeleteRemoteDirectory(System::String ^ remoteDirectoryPath);
public void DeleteRemoteDirectory (string remoteDirectoryPath);
member this.DeleteRemoteDirectory : string -> unit
Public Sub DeleteRemoteDirectory (remoteDirectoryPath As String)

Parameters

remoteDirectoryPath
String

The path of the remote directory to delete.

Examples

The following code example shows the syntax to use when calling the DeleteRemoteDirectory method.

ftpClientConnection.DeleteRemoteDirectory(@"/myDir/mySubDir/");  
ftpClientConnection. DeleteRemoteDirectory("/myDir/mySubDir/")  

Applies to