cURL / Mailing Lists / curl-library / Single Mail


Re: SFTP - How to delete a file

From: Dan Fandrich <>
Date: Mon, 27 Aug 2007 11:16:05 -0700

On Mon, Aug 27, 2007 at 12:39:33PM -0500, Mathew Simon wrote:
> I may not be able to use the CURLOPT_QUOTE since these actions will take
> place even before CWD command, and hence the file to be deleted may not
> be reachable. But hopefully I can try the CURLOPT_PREQUTE.

CURLOPT_PREQUOTE isn't supported by sftp because it doesn't make much sense
there. File transfers are done with absolute paths, or paths relative to
the home directory; there's no CWD.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-08-28