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 file from one server to another

In order to upload a file from one server to another, use the following approach:

1. Login to first server

ssh user@server1.com

2. Upload file from this server to bashupload

curl https://bashupload.com/dump.sql --data-binary @/home/backup/dump.sql

After upload is finished, you'll see uploaded file details including path:

Uploaded 1 file, 7000000000 bytes

wget https://bashupload.com/xxxxx/dump.sql

3. Login to second server

ssh user@server2.com

4. Download file to it

wget https://bashupload.com/xxxxx/dump.sql

After that you can remove this file from first server. You will be able to download the same file for 7 days. See how to upload files in a secure way.


More articles