Simply not working for me #238

Closed
opened 2026-01-19 18:29:33 +00:00 by michael · 1 comment
Owner

Originally created by @JayBrown on GitHub.

I'm using both the following options in a shell script:

curl -k --connect-timeout 30 -H "Max-Days: 7" --upload-file "$filepath" "https://transfer.sh/$filename"
curl -k --connect-timeout 30 -H "Max-Downloads: 1" -H "Max-Days: 7" --upload-file "$filepath" "https://transfer.sh/$filename" 2>/dev/null

…and it never returns a URL. Often it doesn't even care about the 30 seconds timeout argument and simply runs forever. Also tried it directly/manually in Terminal, no change.

What gives?

Originally created by @JayBrown on GitHub. I'm using both the following options in a shell script: ``` curl -k --connect-timeout 30 -H "Max-Days: 7" --upload-file "$filepath" "https://transfer.sh/$filename" curl -k --connect-timeout 30 -H "Max-Downloads: 1" -H "Max-Days: 7" --upload-file "$filepath" "https://transfer.sh/$filename" 2>/dev/null ``` …and it never returns a URL. Often it doesn't even care about the 30 seconds timeout argument and simply runs forever. Also tried it directly/manually in Terminal, no change. What gives?
Author
Owner

@paolafrancesca commented on GitHub:

@JayBrown the repo is not related to the service hosted on https://transfer.sh

@paolafrancesca commented on GitHub: @JayBrown the repo is not related to the service hosted on https://transfer.sh
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#238