cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTP uploading/resuming with curl

From: Isabel Cisternas & Robert Schmidt <rschmidt_at_chello.no>
Date: Fri, 03 Aug 2001 08:44:37 +0200

Hello!

Thanks for a great little utility! I've been using wget for years, and
curl has just those extra features I need.

A couple of questions:

1. Is there a way to tell curl to resume an FTP upload if the remote
file exists, but start the upload from the beginning if it doesn't?
Currently, curl fails with error 32 (could't get file size).

2. When resuming a large FTP upload, curl seems to read or scan the
entire source file, up to the the point where resuming starts. Is there
any good reason for this? It takes a long time, and hogs system
resources for basically no purpose, as I see it.

Thanks again!

Cheers,
Robert
Received on 2001-08-03