cURL / Mailing Lists / curl-library / Single Mail


RE: SFTP - How to delete a file

From: Mathew Simon <>
Date: Thu, 30 Aug 2007 10:19:37 -0500

Ok, I tested the SFTP quote-command with the command line CURL (compiled
on mingw32), and it gives more or less the same type of error for any
quote commands. The SFTP download works. But if a quote command is
given, it aborts with the following message.

Curl: (21) Syntax error in SFTP command. Supply parameters(s)!

It is the same error I get when using libcurl in my application
Text: Syntax error in SFTP command. Supply parameter(s)!

Versions used: libssh2-cvs-20070410, Curl-7.16.4

The later versions do not authenticate (for SFTP) when compiled on
mingw32 platform.

Any suggestions on how I can delete a file after verifying it's SFTP

Mathew Simon

-----Original Message-----
[] On Behalf Of Dan Fandrich
Sent: Wednesday, August 29, 2007 11:56 AM
Subject: Re: SFTP - How to delete a file

On Wed, Aug 29, 2007 at 10:32:26AM -0500, Mathew Simon wrote:
> I never tried the test suits. In the test directory, I don't see a
> makefile for mingw32, and hence know no way to get it compiled under
> ming32.
> Any mingw32 experts out there, can you please run this test 612 or
> even fix the SFTP error in the later versions?

You still haven't said whether you've tried sending commands using the
curl command-line client.

>>> Dan

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