cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Basic Q: * getaddrinfo(3) failed for curl:80

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 18 Sep 2009 17:31:10 +0200 (CEST)

On Fri, 18 Sep 2009, sam452_at_aol.com wrote:

> curl -k -v -c cookie2.txt
> "https://clientaccess.tabsdirect.com/?transaction=signon&username=Myuid&password=Mypw"
> curl -b cookie2.txt -k -v --data-binary @/Volumes/Humanes\
> Assets/AC_2009_Aug_images.zip -H "Content-Type: multipart/form-data" -H
> "X-siLock-AgentBrand: cURL" -H "X-siLock-AgentVersion: 7.16.2 "-H
> "X-siLock-FolderID: Image" -H
> "X-siLock-OriginalFilename:AC_2009_Aug_images.zip" -H
> "X-siLock-FileSize:6687471"
> "https://clientaccess.myvendor.com/moveitisapi/moveitisapi.dll?action=upload"
> curl -k -v -b cookie2.txt
> "https://clientaccess.myvendor.com/?transaction=signoff"

(This is a subject for the curl-users list really.)

You're sending the second command line without the proper newline separation
so thus the 'curl' in there is treated as a URL and that would then be tried
as curl:80 and clearly you don't have such a host to resolve...

-- 
  / daniel.haxx.se
Received on 2009-09-18