curl-library
Re: TclCurl: ftpssl option
Date: Mon, 5 Apr 2004 17:13:09 -0700
On Tue, Apr 06, 2004 at 01:12:40AM -0400, Andrés García wrote:
> In case it is of any help trying to know what's going on, the result
> using curl is:
>
> [andres_at_Shire andres]$ curl ftps://vaxca1.unica.it:22/www/
> -u username:password --verbose 1 --insecure
> * About to connect() to vaxca1.unica.it port 22
> * Connected to vaxca1.unica.it (192.146.242.3) port 22
> * successfully set certificate verify locations:
> * CAfile: /usr/share/curl/curl-ca-bundle.crt
> CApath: none
> * SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
> * Closing connection #0
> curl: (35) SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
> protocol
Looks to me like the server doesn't answer with SSL; you'll need to use
--ftp-ssl instead. Try again with
$ curl -u username:password --verbose --insecure --ftp-ssl ftp://vaxca1.unica.it/www/
> As for TclCurl, looking at this I have noticed that the '-ftpssl', to
> explicitly switch on SSL/TSL for the control connection and the data
> connection, didn't work at all and as the 'insecure' option to the
> curl program, the equivalent is '-sslverifypeer' as with libcurl.
>
> Andres
It might be that TclCurl doesn't support the equivalent to --ftpssl; it's
a relatively recent addition to libcurl. Make sure you're using the most
recent version.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2004-04-06