I need to upload all the files in the Travis root directory to an FTP server after my build steps are completed. [Travis CI's documentation for custom deployment](https://docs.travis-ci.com/user/deployment/custom/) suggests using curl to send the files. Unfortunately curl FTP upload doesn't support globing, which makes a large amount of files practically impossible. 

How can I make sure my whole directory, including all files and subdirs, are uploaded to FTP?

Is there an elegant way to do this or is it better to rely on tools like grunt for uploading to FTP?