curl-library
Re: Support for CURLOPT_NOBODY with SFTP
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 12 Mar 2008 13:19:41 -0700
Date: Wed, 12 Mar 2008 13:19:41 -0700
On Wed, Mar 12, 2008 at 04:05:32PM -0400, Scott Barrett wrote:
> Is there a philosophical or technical reason for not supporting the
> CURLOPT_NOBODY option with SFTP?
>
> I can see in the state machine for SFTP (in ssh.c) where it would be
> possible to check the no_body bit of the connection and transition from
> SSH_SFTP_TRANS_INIT to SSH_STOP (when the request isn't an upload).
>
> I didn't see an SFTP section on the TODO page. If there's no reason not to
> support such behavior, and it's not already on somebody's private TO-DO
> list, I'd be happy to give it a whirl.
That sounds like a worthwhile addition. I don't recall anyone suggesting
it on the list.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-03-12