I need to automate a task (via grunt) that downloads contents of one folder on a ftp server, and then uploads to another (folder or server - doesn't matter, both are plausable).
While there are several great plugins for deploying to ftp (doing the upload part), like grunt-ftpush, grunt-ftp-deploy, grunt-ftp-upload and grunt-ftpscript, I haven't been able to find one which performs the download part.
There a node module like https://nodejsmodules.org/pkg/ftp-get, but nothing for grunt.
Have a look at grunt-curl. It has options for single files as well as directories.