curl-users
Re: Error "SSL3_GET_RECORD: wrong version number" while listing ftpsdirectory
Date: Mon, 17 Jan 2005 19:41:00 +0100 (CET)
On Mon, 17 Jan 2005, Shun-Li Huang wrote:
> I had the same issue when using cURL connecting to a remote FTP site using
> GlubTech's "Secure FTP Wrapper", which implements IMPLICIT SSLFTP (port
> 990). I tried both PASSIVE mode and PORT mode, and got two different
> errors:
...
> * error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
It is indeed very odd that the second connect fails when the first succeeded
fine. Are you sure the second one is expected to use SSL/TLS? Perhaps this
server uses some old non-standard ftp-ssl approach like having the data
connection in plain text.
>> PORT xx,x,x,xx,238,176
> * FTP response reading failed
> * Connection #0 to host xxx.xxx.xxx left intact
> curl: (56) FTP response reading failed
This is different. It looks like the server doesn't respond properly when it
receives a PORT command!
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-01-17