Comments (5)
Previous week I updated transfer.sh. You should be able to upload files without a filename now. Btw curl will append the filename of the uploaded file by default.
curl --upload-file /tmp/wifi-5m260z.log https://transfer.sh/
https://transfer.sh/168UV7/wifi-5m260z.log
from transfer.sh.
When using --upload-file
the file will be send as body, without any Content-Type or filename hints. That's the reason to send the filename with the request.
from transfer.sh.
I see, would it be useful if we generated a fake file name and extension if no file name was provided? That way we at least give the user the option of not having to double type the name every time.
from transfer.sh.
I'm planning an upgrade with a lot of issues fixed and enhancements, will take this into account as well.
from transfer.sh.
@nl5887 check out file.io's api, no need to upload the file name also:
https://www.file.io/#one
$ curl -F "[email protected]" https://file.io
{"success":true,"key":"2ojE41"}
$ curl https://file.io/2ojE41
This is a test
$ curl https://file.io/2ojE41
{"success":false,"error":404,"message":"Not Found"}
from transfer.sh.
Related Issues (20)
- Docker volume for uploads HOT 2
- Disable homepage? HOT 2
- HTTP_AUTH_USER / HTTP_AUTH_PASS ignored HOT 3
- Provider not set or invalid HOT 2
- Error (403) during upload of file occured HOT 1
- Site crashed HOT 2
- transfer.sh shasum of upload and download not matching HOT 5
- Support pasting text HOT 1
- http-auth doesn't seem to work HOT 2
- curl doesn't return download url HOT 5
- Why were the patch versions for CVE-2022-40931 released so late? HOT 1
- Website down HOT 11
- Error: curl: no URL specified! HOT 1
- How can I manage files uploaded? HOT 4
- Option to use a CLI
- Using aiohttp HOT 1
- Download button fails for names with hash mark (#) HOT 2
- Appended % HOT 1
- VirusTotal Error 500 HOT 3
- [bug] Player Video in Website HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transfer.sh.