cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl command line - sftp problem

From: Bernhard Blasen <bernhard_at_csa-gmbh.com>
Date: Thu, 9 Sep 2004 14:15:58 +0200 (CEST)

Hello List,

I'm new with curl. I tried for hours by google to find solutions for my
problem but until now without results. That's why I'm here.

I try to get the contents of a remote directory. Connection is ftp ssl
encrypted. I get no results but a error messages obviously generated by
openssl. At the end ogf this post i send the complete dialogue (faked IP
addresses username and password). Is anybody able to help me

Regards

Bernhard

$ curl --show-error --list-only --ftp-ssl --disable-epsv --insecure
ftp://13.1.94.222:8021/IN --user blue:yellow -v

* About to connect() to 13.1.94.222 port 8021
* Connected to 13.1.94.222 (13.1.94.222) port 8021
< 220 Welcome to the COMPANY Secure FTP Server !
> AUTH SSL
< 234 Security data exchange complete.
* successfully set certificate verify locations:
* CAfile: /usr/share/curl/curl-ca-bundle.crt
  CApath: none
* SSL connection using DES-CBC3-SHA
* Server certificate:
* subject: /O=COMPANY/CN=secure.company.de
* start date: 2004-01-16 09:19:08 GMT
* expire date: 2024-01-11 09:19:08 GMT
* common name: secure.company.de (does not match '13.1.94.222')
* issuer: /O=COMPANY/CN=secure.company.de
* SSL certificate verify result: 18, continuing anyway.
> USER blue
< 331 User name okay, need password.
> PASS yellow
< 230-Welcome blue from 117.7.134.94. You are now logged in to the server.
< 230 User logged in, proceed.
* We have successfully logged in
> PBSZ 0
< 200 Command OK. PBSZ=0
> PROT P
< 200 Encrypting Data Channel.
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> PASV
< 227 Entering Passive Mode (13.1.94.222,39,26).
* About to connect() to 13.1.94.222 port 10010
* Connecting to 13.1.94.222 (13.1.94.222) port 10010
* Connected the data stream with PASV!
> TYPE A
< 200 Type set to A.
> NLST
< 150 File status okay; about to open data connection.
* Doing the SSL/TLS handshake on the data stream
* successfully set certificate verify locations:
* CAfile: /usr/share/curl/curl-ca-bundle.crt
  CApath: none
* SSL re-using session ID
* SSL: error:1408C095:SSL routines:SSL3_GET_FINISHED:digest check failed
* Closing connection #0
$

-- 
Bernhard Blasen,CSA Computer Service Agentur GmbH
Hagenhausener Str. 11, 92348 Stöckelsberg
Phone: +49 9189 4408 0
Received on 2004-09-09