cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP - How to delete a file

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 30 Aug 2007 10:38:43 -0700

On Thu, Aug 30, 2007 at 11:17:06AM -0500, Mathew Simon wrote:
> The syntax of the quote command do not matter. Give any non-empty string
> as a quote command, whether valid or not, it gives the same error
> message. I tried the "pwd" command, which is broken according to you,
> and also the following flavors of the delete command. In my case the
> files of interest are in the "ReceiveFiles" directory which is at the
> root level (/ReceiveFiles).
>
> > RM filename1.txt
> > RM ReceiveFiles/filename1.txt
> > RM /ReceiveFiles/filename1.txt
> > RM xxx.xxx.com/ReceiveFiles/filename1.txt
> > RM sftp://xxx.xxx.com/ReceiveFiles/filename1.txt

So far in this thread you haven't given any actual command lines or
actual code that is failing--it's all been vague descriptions. So, don't be
too disappointed by the vague answers you're getting.

BTW, have you tried using lower case commands (as documented)? It should
be case insensitive, but maybe something is weird on your platform.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-08-30