curl-users
Re: [ curl-Bugs-714667 ] curl -z ./local.bz2 -O ftp://remote.bz2 does not work (fwd)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 3 Apr 2003 18:17:00 +0200 (CEST)
Received on 2003-04-03
Date: Thu, 3 Apr 2003 18:17:00 +0200 (CEST)
Please keep this on the list.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ---------- Forwarded message ---------- Date: 03 Apr 2003 18:10:14 +0200 To: Daniel Stenberg <daniel_at_haxx.se> Subject: Re: [ curl-Bugs-714667 ] curl -z ./local.bz2 -O ftp://remote.bz2 does not work Hi Daniel On Thu, 2003-04-03 at 17:20, Daniel Stenberg wrote: > On Thu, 3 Apr 2003, SourceForge.net wrote: > ... > curl -z ./mozilla-source.tar.bz2 -O > > ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-source.tar.bz2 > > ... > Well, it all boils down to what the FTP sever supports and responds. Can you > run a --trace-ascii and tell us exactly what kind of interaction curl does > with the FTP server in the second command invoke? > > The MDTM command used for getting a time and date of a specific file over FTP > is 1. not a standard RFC959 command and 2. not very cleverly added since it > lacks time zone info. > > Thus, this failure may be due to a bug in curl, or simply because the server > doesn't support the MDTM command or possibly because curl fails to do a After performing: curl --trace-ascii curl.log -R -z local.html -O ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-source.tar.bz2 I attached the essential (I hope) part of curl.log to this mail. Then I made in the same directory: wget -N ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-source.tar.bz2 and got after some seconds: --18:00:47-- ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-source.tar.bz2 => `.listing' Resolving ftp.mozilla.org... done. Connecting to ftp.mozilla.org[207.200.85.49]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/mozilla/nightly/latest ... done. ==> PORT ... done. ==> LIST ... done. [ <=> ] 2,697 658.45K/s 18:00:49 (658.45 KB/s) - `.listing' saved [2697] Removed `.listing'. Remote file no newer than local file `mozilla-source.tar.bz2' -- not retrieving. So 'wget' behaves like I expected. So perhaps you can include this feature or method of time determination use by wget into curl. Regards Juergen -- Juergen Rose <rose_at_rz.uni-potsdam.de> Max-Delbrueck-Zentrum
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
- TEXT/PLAIN attachment: curl.log