cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl command line tool ftp ssl control only

From: Mike Protts <mikep_at_proatria.com>
Date: Sun, 24 Sep 2006 10:21:55 +0100

Hi,

Thanks to Dan Fandrich, I checked with the doc on the options I've used, and I should have specified the -ftp-ssl-control options as 'Requires SSL/TLS' - so a new patch (although it may be as quick just to replace the word Try with Require in two places).

===================================================================

cvs diff: Diffing docs
Index: docs/curl.1
===================================================================
RCS file: /cvsroot/curl/curl/docs/curl.1,v
retrieving revision 1.192
diff -c -r1.192 curl.1
*** docs/curl.1 23 Sep 2006 20:46:07 -0000 1.192
--- docs/curl.1 24 Sep 2006 09:12:01 -0000
***************
*** 418,424 ****

  If this option is used twice, the second will again disable this.
  .IP "--ftp-ssl-control"
! (FTP) Try SSL/TLS for the ftp login, clear for transfer. Allows secure
  authentication, but non-encrypted data transfers for efficiency. Fails the
  transfer if the server doesn't support SSL/TLS. (Added in 7.16.0)

--- 418,424 ----

  If this option is used twice, the second will again disable this.
  .IP "--ftp-ssl-control"
! (FTP) Require SSL/TLS for the ftp login, clear for transfer. Allows secure
  authentication, but non-encrypted data transfers for efficiency. Fails the
  transfer if the server doesn't support SSL/TLS. (Added in 7.16.0)

===================================================================

Index: src/main.c
===================================================================
RCS file: /cvsroot/curl/curl/src/main.c,v
retrieving revision 1.372
diff -c -r1.372 main.c
*** src/main.c 23 Sep 2006 20:25:45 -0000 1.372
--- src/main.c 24 Sep 2006 09:12:04 -0000
***************
*** 521,527 ****
      " --ftp-pasv Use PASV/EPSV instead of PORT (F)",
      " --ftp-skip-pasv-ip Skip the IP address for PASV (F)\n"
      " --ftp-ssl Try SSL/TLS for the ftp transfer (F)",
! " --ftp-ssl-control Try SSL/TLS for the ftp login, clear for transfer (F)",
      " --ftp-ssl-reqd Require SSL/TLS for the ftp transfer (F)",
      " -F/--form <name=content> Specify HTTP multipart POST data (H)",
      " --form-string <name=string> Specify HTTP multipart POST data (H)",
--- 521,527 ----
      " --ftp-pasv Use PASV/EPSV instead of PORT (F)",
      " --ftp-skip-pasv-ip Skip the IP address for PASV (F)\n"
      " --ftp-ssl Try SSL/TLS for the ftp transfer (F)",
! " --ftp-ssl-control Require SSL/TLS for the ftp login, clear for transfer (F)",
      " --ftp-ssl-reqd Require SSL/TLS for the ftp transfer (F)",
      " -F/--form <name=content> Specify HTTP multipart POST data (H)",
      " --form-string <name=string> Specify HTTP multipart POST data (H)",

===================================================================

Regards
Mike

On Sat, 23 Sep 2006 21:37:47 +0200 (CEST)
Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Sat, 23 Sep 2006, Mike Protts wrote:
>
> > I managed to quickly run this from home.
>
> Thanks! Applied and committed just now.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

-- 
Regards 
Mike Protts
Senior Technical Consultant
Pro:Atria Ltd
+44(0)870 765 6453
Received on 2006-09-24