Deleting a remote directory |
You can delete a remote directory on the server using the Sftp#deleteDir method. The directory deleted is relative to your current remote directory. See Setting your remote directory for details.
Example
// delete directory named images sftp.deleteDir("images"); |