This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cancelling whole directory with Sftp and jsch
 
Similar Threads
Java remote paths
Using FTPS (not SFTP) in Java?
Need to search large log files present in a remote unix server
Ssh or sftp sever
Search for files over sFTP