Error I get when trying to upload a jpeg image using curl #143

Closed
opened 2026-01-19 18:29:09 +00:00 by michael · 8 comments
Owner

Originally created by @dillfrescott on GitHub.

<head></head>

301 Moved Permanently


nginx/1.14.2 </html>
Originally created by @dillfrescott on GitHub. <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx/1.14.2</center> </body> </html>
Author
Owner

@dillfrescott commented on GitHub:

Please ignore the markdown kind of messing with the error since its in html

@dillfrescott commented on GitHub: Please ignore the markdown kind of messing with the error since its in html
Author
Owner

@dillfrescott commented on GitHub:

Update: Just disabled the antivirus and firewall and its still happening...

@dillfrescott commented on GitHub: Update: Just disabled the antivirus and firewall and its still happening...
Author
Owner

@stefanbenten commented on GitHub:

You need to specify https://transfer.sh as endpoint. The redirect comes from HTTP to HTTPS.

@stefanbenten commented on GitHub: You need to specify https://transfer.sh as endpoint. The redirect comes from HTTP to HTTPS.
Author
Owner

@stefanbenten commented on GitHub:

How do you try to upload it? @DillFrescott
A full example would be great.

EDIT: Just tried and works just fine:

curl --upload-file cat.jpg https://transfer.sh
https://transfer.sh/G4B9np/cat.jpg
@stefanbenten commented on GitHub: How do you try to upload it? @DillFrescott A full example would be great. EDIT: Just tried and works just fine: ``` curl --upload-file cat.jpg https://transfer.sh https://transfer.sh/G4B9np/cat.jpg ```
Author
Owner

@dillfrescott commented on GitHub:

Here is the exact console history of my latest attempt. This is very odd. Perhaps its my antivirus or firewall?

https://gist.github.com/DillFrescott/e1e21817a2630fc4dd87ceafc7ddeb48

@dillfrescott commented on GitHub: Here is the exact console history of my latest attempt. This is very odd. Perhaps its my antivirus or firewall? https://gist.github.com/DillFrescott/e1e21817a2630fc4dd87ceafc7ddeb48
Author
Owner

@dillfrescott commented on GitHub:

Ok.

@dillfrescott commented on GitHub: Ok.
Author
Owner

@dillfrescott commented on GitHub:

Ok, that works, but I no longer have an upload progress :(

@dillfrescott commented on GitHub: Ok, that works, but I no longer have an upload progress :(
Author
Owner

@stefanbenten commented on GitHub:

That sounds like an unrelated issue to me (also not tied to transfer.sh).

@stefanbenten commented on GitHub: That sounds like an unrelated issue to me (also not tied to 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#143