mscdex/node-ftp — pull request #92 by unixpickle (2014-05-26 18:18:34+00:00)
Title: Delete directories recursively

Most FTP clients and services provide a mechanism for deleting directories recursively. This pull request adds a `deleteRecursively(path, cb)` method which is essentially equivalent to `rm -r` on UNIX. Additionally, I thought it reasonable to add an optional argument to `rmdir()`. You may now delete a directory by doing:

connection.rmdir('/some/path/', true, cb)