The bashupload is a place to upload files from command line or other ways and download them elsewhere.

How to upload multiple files to a server

In order to upload multiple files to bashupload, use this code:

curl -F 'file1=@file1.txt' -F 'file2=@file2.txt' ...

If you want to pack (and compress) files before upload, use tar utility for that:

tar -cvzf upload.tar.gz /var/folder/*.csv
curl --data-binary @upload.tar.gz

After upload is finished you'll see instruction on how to download uploaded file on your server. Uploading the whole directory is done in a similar way.

More articles