cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl Passive/Active auto-switch

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 30 Jan 2009 09:33:26 +0100 (CET)

On Fri, 30 Jan 2009, Hagimeno wrote:

> I need to use curl as command line under OS X. I would like to know if is
> possible to define connection (transfer passive/active) in automatic as Unix
> ftp command does. I means that I don't want to know if I need to connect in
> passive or active mode. I would like that curl trying to passive and in case
> of fails switch to active mode (like FTP Unix command does). It is possible?
> If yes can you explain the syntax command?

Unfortunately this is not possible, but we have it marked as a feature we want
to get implmented:

         http://curl.haxx.se/docs/todo.html#Alter_passive_active_on_failure

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-30