Dead Simple File Transfers

Upload File

curl --upload-file file.txt https://keep.sh

https://keep.sh/3d1fd43a21/file.txt


Upload File With Password

curl --upload-file file.txt https://keep.sh -H "Password: yourpassword"

https://keep.sh/3d1fd43a21/file.txt


Getting Started

It's too easy to get started with keep.sh -- all you need is a terminal window that supports curl and a file that you want to upload


Ready? Let's Do This

When you're ready to upload a file, just open your terminal window and type the following:


curl --upload-file path/to/file.txt https://keep.sh

When your file is done being uploaded, a link to your file will be in your terminal window.

Advanced Options

When you want a little bit more flexibility and control


Password Protection

We give you the option to add a password to be able to download your files. To enable it, just add -H "Password: yourpassword" to the upload command


curl --upload-file path/to/file.jpeg https://keep.sh -H "Password: yourpassword"

Rename File on Upload

If you want to rename your file during upload, just give us the new name when you are calling https://keep.sh/


curl --upload-file path/to/file.gif https://keep.sh/newname.gif

Downloading with curl

Not only can you upload files to keep.sh with curl, you can download too by adding the -L flag and declaring where to save the file


curl -L https://keep.sh/3d1fd43a21/filename.txt > filename.txt

curl -L https://keep.sh/3d1fd43a21/filename.zip -H "Password: yourpassword" > path/to/filename.zip

E-mail the file to yourself

You may e-mail a convenient download link to yourself by adding the e-mail header


curl --upload-file path/to/file.jpeg https://keep.sh -H "Email: youremail@yourdomain.com"

Of course you can combine this together with a password


curl --upload-file path/to/file.jpeg https://keep.sh -H "Password: yourpassword" -H "Email: youremail@yourdomain.com"

keep.sh Newsletter

Stay up to date with our newest features