cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: <sam452_at_aol.com>
Date: Fri, 18 Sep 2009 11:18:15 -0400

I'm wanting to use cURL to send files to my vendor who is using ipswitch's moveit software. ipswitch supports curl and I've followed their command line example.

Here's a nice link of my command:

http://pastie.org/621735

It is also here in this plaintext:

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"

As you'll see it's three curl commands, bookended by cookie pushes. Looking at cURL's output I sense that these bookend commands are working. The payload command appears to fail with the text in the subject line.

Looking at the list's archives, I see that some folks have a similar issue because it cannot find a website, etc. But my error makes me think that something in my command betrays my inexperience with curl. It's like it's expecting a url for an argument but I'm unsure where it would go. Ipswitch thinks my command line is OK, so it must be my ignorance.

Please educate me so I can finish this part of my project.

I'm running OS X 10.5.8 and cUrl

curl 7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3

thanx, sam
Received on 2009-09-18