cURL hangs trying to upload file from stdin
- by SidneySM
I'm trying to PUT a file with cURL. This hangs:
curl -vvv --digest -u user -T - https://example.com/file.txt < file
This does not:
curl -vvv --digest -u user -T file https://example.com/file.txt
What's going on?
* About to connect() to example.com port 443 (#0)
* Trying 0.0.0.0... connected
* Connected to example.com (0.0.0.0) port 443…