LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-23-2016, 01:44 PM   #16
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,556

Rep: Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117Reputation: 1117

I'm not sure what you are doing. Or are trying to do. curl works fine. Can you replicate this?

Code:
curl --head http://img63.imagegame.com/i/12828/5c5lzwbrpnhn.jpg/img07.jpg
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Date: Fri, 23 Dec 2016 19:40:22 GMT
Location: http://static.hugedomains.com/images/logo_huge_domains.gif
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Connection: keep-alive
I was able to get that with
Code:
curl http://img63.imagegame.com/i/12828/5c5lzwbrpnhn.jpg/img07.jpg -o - > imagegame12128-007.jpg
Code:
file imagegame12128-007.jpg
imagegame12128-007.jpg: HTML document, ASCII text, with CRLF line terminators
Code:
cat imagegame12128-007.jpg
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://static.hugedomains.com/images/logo_huge_domains.gif">here</a>.</h2>
</body></html
Code:
curl http://static.hugedomains.com/images/logo_huge_domains.gif -o - > lhd.gif
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3654  100  3654    0     0  40387      0 --:--:-- --:--:-- --:--:-- 40600
 
Old 01-01-2017, 08:11 AM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,401
Blog Entries: 10

Rep: Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212
Quote:
Originally Posted by L_Carver View Post
Double-quoting is a must for my terminal applications; every time when I use single quotes I get cannot stat errors. My terminal apps have been ruined by my bad Cygwin habits, and this isn't the first Linux install this has happened to.
3 weeks and 15 posts later you are telling us this?

i suspect your problem has nothing to do with curl.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 6.7 has really OLD curl. Best way to update curl? sneakyimp Linux - Server 4 04-26-2016 03:06 PM
[SOLVED] While loop not behaving ....... jv2112 Programming 4 08-26-2011 07:01 PM
ARP not behaving... sw1sst Linux - Networking 1 12-17-2009 04:51 AM
cURL: Server has many IPs, how would I make a cURL script use those IPs to send data? guest Programming 0 04-11-2009 11:42 AM
my computer is not behaving right way Paxmaster Linux - General 4 06-20-2005 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration