curl
FIXED- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: curl
a week ago
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
C:\Users\user2>curl https://www.amazon.co.uk
Warning: Binary output can mess up your terminal. Use "--output -" to tell curl to output it to your terminal anyway,
Warning: or consider "--output <FILE>" to save to a file.
After using --output (with resultant unreadable output), the binary stuff displayed in a command line window rang my bell (after a delay of about 5-6 seconds). A ding-dong (which my mail client plays when new mail arrives). The mail client wasn't active at the time.
Trying curl with other websites over https doesn't result in the same.
Does anyone have any (technical) insight? 'Googling' amazon and curl just brings up hair curling utensils marketed on amazon.
Fixed! Go to the fix.
Re: curl
Saturday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thread moved from Everything Else to Tech Help
Moderator and Customer
If this helped - select the Thumb
If it fixed it, help others - select 'This Fixed My Problem'
Re: curl
Saturday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@grumble wrote:
[...]
Does anyone have any (technical) insight? 'Googling' amazon and curl just brings up hair curling utensils marketed on amazon.
From the curl man page:
DESCRIPTION
curl is a tool for transferring data from or to a server using URLs. It supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP,
RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS.
You would need to specify which data you want to transfer
Something like
curl -O https://mirror.server.net/linuxmint/iso/debian/lmde-6-cinnamon-64bit.iso
would download (transfer) that iso image.
Alternatively, I may be misunderstanding what you are asking.
Re: curl
Saturday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@TheRoadCrew wrote:
Alternatively, I may be misunderstanding what you are asking.
Actually, running
$ curl https://www.amazon.co.uk > amazon.txt
saves the output for me. Forum software won't let me attach the txt file 'cos it contains html.
Re: curl
Saturday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
OK
running
curl https://www.amazon.co.uk > amazon.txt
Screenshot of the first page of the resultant amazon.txt
Sunday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I don't see any binary at all:
Odd that only Amazon behaves this way for you; don't know if why do i get binary output using curl? is relevant in this case.
Re: curl
Sunday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
It was the '--compressed' option that was the solution. Thanks.
Although I am unsure why I need to specify that when you don't. One answer often leads to more questions.
Re: curl
Monday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@grumble wrote:
[...]
Although I am unsure why I need to specify that when you don't.
If you are using curl shipped by Microsoft perhaps it has something to do with the curl alias (if it still exists).
Re: curl
Tuesday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
In another browser tab, login into the Plusnet user portal BEFORE clicking the fault & ticket links
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
If this post helped, please click the Thumbs Up and if it fixed your issue, please click the This fixed my problem green button below.
Re: curl
Tuesday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Dunno, but I'll give it a test later. (This will only be under Win10. Whether there's a difference under Win11 I may never find out).
I'll go back and give Roadcrew a 'fix'. In the dim and distant past I've come across gflate(?) in HTTP and that had been relegated to the back of my brain into the 'use it or lose it' category.
Re: curl
Tuesday
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
It appears that a momentary warning(?) flashes up (in yellow, before disappearing) in Powershell (both as a 'normal' user and as an admin), then it appears that powershell automagically tries the --compressed option.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page