cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl -z option fails with ftp

From: Darryl House <devguru_at_sbcglobal.net>
Date: Tue, 4 Oct 2005 17:05:01 -0700 (PDT)

Oops... in the above test, the file on the server was
actually updated, so the file fetch was warranted.

This one, however, is not:

Local file details (ls -l):
-rw-r--r-- 1 root root 43269 2005-10-04 17:46
sat_atlhurr_fullview_640x480.jpg
Timestamp is: Wed, 05 Oct 2005 00:46:55 +0000
* About to connect() to imageserv.intelliweather.net
port 21
* Trying 209.218.29.131... connected
* Connected to imageserv.intelliweather.net
(209.218.29.131) port 21
< 220 imageserv Microsoft FTP Service (Version 5.0).
> USER user
< 331 Password required for user
> PASS pass
< 230-Welcome to IntelliWeather Imagery Server
< 230 User user logged in.
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> CWD broadcast
< 250 CWD command successful.
> CWD test
< 250 CWD command successful.
> MDTM sat_atlhurr_fullview_640x480.jpg
< 213 20051005004655
> EPSV
* Connect data stream passively
< 500 'EPSV': command not understood
* disabling EPSV usage
> PASV
< 227 Entering Passive Mode (209,218,29,131,14,158).
* Trying 209.218.29.131... connected
* Connecting to 209.218.29.131 (209.218.29.131) port
3742
> TYPE I
< 200 Type set to I.
> SIZE sat_atlhurr_fullview_640x480.jpg
< 213 43269
> RETR sat_atlhurr_fullview_640x480.jpg
< 125 Data connection already open; Transfer starting.
* Getting file with size: 43269
  % Total % Received % Xferd Average Speed Time
  Time Time Current
                                 Dload Upload Total
  Spent Left Speed
 33 43269 33 14576 0 0 8560 0 0:00:05
 0:00:01 0:00:04 55863Remembering we are in dir
broadcast/test/
< 226 Transfer complete.
100 43269 100 43269 0 0 21691 0 0:00:01
 0:00:01 --:--:-- 79356* Connection #0 to host
imageserv.intelliweather.net left intact

> QUIT
< 221 bye for now...
* Closing connection #0
Received on 2005-10-05