FtpClientConnection.DeleteRemoteDirectory(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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/")