cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to delete file from sftp server by libcurl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 19 Sep 2012 21:18:05 +0200

On Wed, Sep 19, 2012 at 07:16:06PM +0800, $B2+?4W^(B wrote:
> I am trying to delete a file from sftp server. Here is my code:

Questions about libcurl really belong in the curl-library mailing list.

> CString cmd = "delete 2.key";

Where did you get this command from? The documented command to delete
a file via sftp is "rm".

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-19