cURL / Mailing Lists / curl-users / Single Mail


[ curl-Bugs-674846 ] upload resuming doesn't work

From: <>
Date: Sat, 25 Jan 2003 21:54:51 -0800

Bugs item #674846, was opened at 2003-01-25 21:54
You can respond by visiting:

Category: ftp
Group: hang
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: upload resuming doesn't work

Initial Comment:
with curl 7.10.3 (i386-redhat-linux-gnu) libcurl/7.10.3

[root_at_localhost]# curl -C - -T * -u username:password
ftp://site/path/ --limit-rate 100k -v -P -
* About to connect() to site:21
* Connected to site (his_ip) port 21
> USER username
> PASS password
* We have successfully logged in
* Entry path is '/'
> CWD path
* Telling server to connect to my_ip:32870
> PORT some_numbers
* Ordered connect of the data stream with PORT!
> SIZE big_file

and it halts there.

tried PASV mode first (by default), manually specifying
the size of the partial file at the remote site... curl
hangs in all cases.

tried to send the FTP commands myself and got:

ftp> quote "TYPE I"
200 Type set to I.
ftp> quote "PASV"
227 Entering Passive Mode (his_ip,7,46)
ftp> quote "SIZE big_file"
213 377356288
ftp> quote "REST 377356288"
350 Restarting at 377356288. Send STORE or RETRIEVE.

doesn't look wrong to me. the ftp server is Serv-U FTP
Server v4.0


You can respond by visiting:

This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
Received on 2003-01-26