cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl freezing after Quote command to FTPS

From: Boaz Bezborodko <boaz_at_mirrotek.com>
Date: Fri, 08 Oct 2010 09:38:06 -0400

> Date: Fri, 8 Oct 2010 00:15:12 +0200 (CEST) From: Daniel Stenberg
> <daniel_at_haxx.se> To: the curl tool <curl-users_at_cool.haxx.se> Subject:
> Re: Curl freezing after Quote command to FTPS Message-ID:
> <alpine.DEB.2.00.1010080012410.10538_at_tvnag.unkk.fr> Content-Type:
> TEXT/PLAIN; charset=US-ASCII; format=flowed 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 NOOPftp://example.com/ -u name:password
>
> -- / daniel.haxx.se

Putting the quotation marks around only the command solved the problem.
( -Q "{command}" )

I had it working the other way on two other systems with which I was
communicating and they worked fine, which is why I didn't think to try
it differently.

Thanks.

Boaz

-------------------------------------------------------------------
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