curl - How to upload to FTP from Travis CI -


After completing my build steps, I need to upload all the files in the Travis Root directory to the FTP server. Unfortunately curl does not support FTP upload globing, which makes a large amount of files impossible by impossible.

How can I ensure that All my directories, Which includes all files and subdirs uploading to FTP?

Is there a great way to do this or is it better to rely on equipment such as harvesting to upload FTP?

Travis Doctor says that you have the type of content after_success: section . The specified command is just an example.

Then, after which you want from your computer, keep the order of the commands used in the after_success: section.

In your case, upload a collection (with tar ) and then uploading it ( curl or directly to ftp With) should work, if I understand your needs properly


Comments