-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.SFTPSession.RemoveDirectory
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
SSH.SFTPSession.RemoveDirectory
Sub RemoveDirectory(DirectoryName As String, Recursive As Boolean = False)
Name | Type | Comment |
---|---|---|
DirectoryName |
String | The name of the remote directory to delete. |
Recursive |
Boolean | Optional. If True then the directory and everything in it is deleted. This may take a long time if the directory is very large and/or deep. |
Deletes the specified directory on the remote server using SFTP. If Recursive
is False
then the directory must already be empty.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2018-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.