GeeCON Prague 2014*
The moose likes Sockets and Internet Protocols and the fly likes Cancelling whole directory with Sftp and jsch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Cancelling whole directory with Sftp and jsch" Watch "Cancelling whole directory with Sftp and jsch" New topic
Author

Cancelling whole directory with Sftp and jsch

Marco Zanini
Ranch Hand

Joined: Oct 31, 2011
Posts: 43
Hi to all, I'm using jsch to operate on remote filesystems with sftp. The only problem is that I have to cancel a directory that have files in it but jsch (sftp?) cannot cancel non-empty directories. Is there a way to do it or do I have to memorize the entire remote filesystem in order to be able to cancel contained files?
 
GeeCON Prague 2014
 
subject: Cancelling whole directory with Sftp and jsch