Deleting a remote directory

Top  Previous  Next

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");





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC