Extension for Ruby's Net::FTP with support for recursive mkdir, rm and other stuff.
Latest commit 6cdb388 Jan 15, 2016 Dima Sabanin Ignore another type of exception
Failed to load latest commit information.
README Update README Jun 18, 2013
better_ftp.rb Ignore another type of exception Jan 15, 2016


Extension of the Ruby's default Net::FTP class.

Some of the code is based on https://github.com/bmarzolf/ftputils gem, thanks to Bruz Marzolf.

Changes from Net::FTP

* Support for custom ports
* mkdir_p command (recursive mkdir)
* rm_r command (recursive rm)
* cd command as an alias to chdir
* reconnect! method
* directory? and file? methods
* Support for custom host IP for PORT command
* Expanding of paths with ~ in mkdir_p command (rm_r coming)


Just copy the file for now. Will make it a gem later if it grows useful.