cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: "Cmd REST not allowed by policy": can libcurl do w/o REST?

From: Giulio Orsero <giulioo_at_gmail.com>
Date: Fri, 28 May 2010 16:42:31 +0200

On Fri, May 28, 2010 at 15:04, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Fri, 28 May 2010, Giulio wrote:
>
>> Problem with an FTP server which doesn't support REST.
>> I cannot control or ask anything to the remote FTP site operator.

> Well, you can of course transfer files without REST but then you can't set
> the "start point" to transfer from.
>
> REST is only used by libcurl if you ask for resume/range transfers and not
> otherwise.

I'm using curlftpfs+fuse and so it seems it's curlftpfs that is asking rest.

Since I don't see any evident option in the curlftpfs manual to
disable rest, and curlftpfs doesn't seem to be actively maintained,
could you please suggest how I could solve this issue by somehow
modifying the libcurl source to always disable rest?

I tried looking for a place to do this, ie a flag in curl.h to disable
REST. but failed.

Grepping curlftpfs source for REST doesn't output anything related to
ftp protocol.

Do you know of any alternative to curlftpfs?

Thanks

-- 
giulioo_at_pobox.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-28