curl-users
Re: Upload Misbehaving
Date: Thu, 8 May 2008 15:39:54 -0700 (PDT)
That's the thing, I was expecting that you will say that. Again, let me say that the command I used is the same for both machines.
Now I wonder why the other machine was able to upload everytime. I guess the first time it was done, it threw an error and I didn't noticed it. The second time the command was issued, it retrieved the cookie and was able to upload. From that point is when I sync the two commands. The non-working machine has no chance no upload because there was no cookie.
I tried what your suggestion and it already worked. My message below, the result of the command, just confirmed your solution worked!
Thanks a lot guys!!!
By the way, I might have missed it, but did it say in the documentation that one should login first and get a cookie before uploading/downloading?
Dan Fandrich <dan_at_coneharvesters.com> wrote:
On Thu, May 08, 2008 at 09:54:33AM -0700, von wrote:
> Here is the message log for the WORKING curl command:
> * About to connect() to theURL port 443 (#0)
> * Trying theIPAddr... connected
> * Connected to theURL (theIPAddr) port 443 (#0)
> > User-Agent: curl/7.18.1 (i386-pc-win32) libcurl/7.18.1 OpenSSL/0.9.8g zlib/
> 1.2
> .3
> > Host: theURL
> > Accept: */*
> > Cookie: FDX=616c7a72584a736b544876703169567a36796e3063513d3d
> > Content-Length: 6729
> >
> } [data not shown]
[..]
> And here is the log for the NON-WORKING cURL command:
> * About to connect() to theURL port 443 (#0)
> * Trying 170.146.188.96... connected
> * Connected to theURL (170.146.188.96) port 443 (#0)
> > User-Agent: curl/7.18.1 (i386-pc-win32) libcurl/7.18.1 OpenSSL/0.9.8g zlib/
> 1.2
> .3
> > Host: theURL
> > Accept: */*
> > Content-Length: 577
> >
> } [data not shown]
Did you spot the difference? The working one has sent a cookie. See my
post of Wed, 7 May 2008 15:08:45.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved Voltaire Bitudio Villafuerte IT Consultant MCAD, MCPD Web Dev, MCTS A person who lacks wisdom will base his or her actions on what feels good right now instead of looking at the long-term picture. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.Received on 2008-05-09