Dead-simple, encrypted, super-fast, temporary file transfer/piping server, for your browser, code and terminal.
Drop a file anywhere one the page to instantly upload,
or click this box to browse, or copy and paste a file or text with
⌘/Ctrl+V
curl
curl --upload-file ./file.txt https://transfr.one
Once the file is uploaded, the endpoint will return the uploaded file URL.
https://transfr.one/22e3-63401de2/file.txt
curl --upload-file ./file.txt https://transfr.one/my-file.txt
gpg
Files should be encrypted before upload to ensure privacy.
gpg -ac -o- file.txt | curl https://transfr.one/file.txt.pgp --data-binary @-
This will prompt for a passphrase before starting the upload, that can then be used to decrypt the file.
Once the file is uploaded, the endpoint will return the uploaded file URL which can then be downloaded and decrypted with gpg, or in the browser if the extension is .pgp
curl https://transfr.one/22e3-63401de2/file.txt.pgp | gpg --pinentry-mode loopback -d -o decrypted.txt
javascript
/typescript
fetch('https://transfr.one/file.txt', {
method: 'PUT',
body: new File(['<data goes here>'], 'file.txt')
});
python
import requests
with open('file.txt', 'rb') as f:
data = f.read()
response = requests.put('https://transfr.one/file.txt', data=data)
The file can simply be downloaded with the link returned from the endpoint. The link can be opened in a web browser to download the file, alternatively:
curl
curl -L https://transfr.one/22e3-63401de2/file.txt > file.txt
javascript
/typescript
fetch('https://transfr.one/22e3-63401de2/file.txt');
python
import requests
response = requests.get('https://transfr.one/22e3-63401de2/file.txt')
24 hours
.20MB
.