This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
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
Java remote paths