cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl freezing after Quote command to FTPS

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Oct 2010 00:15:12 +0200 (CEST)

On Thu, 7 Oct 2010, Boaz Bezborodko wrote:

> I'm trying to execute a Quote command to an FTPS site, but the site freezes
> after every quote command.
>
> Here is a sample of the command and the output:
>
> Command entered in Windows XP:
>
> curl "-Q PASV" ftp://edx.xxxxx.com --cacert f:\Public\ca-bundle.crt -u
> XXXX:xxxx -v

That's not FTPS at all.

The -Q usage is also strange. First, PASV can't be used as a quote command,
and then you should provide the command separated from -Q with a space without
any quotes around the pair. Like this:

  curl -Q NOOP ftp://example.com/ -u name:password

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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 2010-10-08