bashupload is a place to upload files from command line or other devices and download them elsewhere during 7 days. Upload files now.

How to upload multiple files to a server

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

curl https://bashupload.com/ -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 https://bashupload.com/upload.tar.gz --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