cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: difference in behaviour of libcurl in windos and linux

From: kuriakose <kuriakose_at_huawei.com>
Date: Tue, 10 Apr 2007 21:56:29 +0530

Hi,
The version of libcurl I am using is different in both systems
In windows ,the libcurl version is 7.15.1
And
In linux, the libcurl version is 7.16.1.

Even if it is because version difference , how can a higher version of
libcurl gives 'SSL level failed' error which a lower version does not give.
Below are the verbose output. Hope this is what you meant.
Thanks in advance.

In linux ,

* About to connect() to 10.x.x.x port 21 (#0)
* Trying 10.x.x.x... * connected
* Connected to 10.x.x.x (10.x.x.x) port 21 (#0)
< 220---------- Welcome to Pure-FTPd [TLS] ----------
< 220-You are user number 1 of 50 allowed.
< 220-Local time is now 21:06. Server port: 21.
< 220-IPv6 connections are also welcome on this server.
< 220 You will be disconnected after 15 minutes of inactivity.
> AUTH SSL
< 500 This security scheme is not implemented
> AUTH TLS
< 500 This security scheme is not implemented
* Closing connection #0
* Requested FTP SSL level failed

 In windows

* About to connect() to 10.x.x.x port 21
* Trying 10.x.x.x... * connected
* Connected to 10.x.x.x (10.x.x.x ) port 21
< 220---------- Welcome to Pure-FTPd [TLS] ----------
< 220-You are user number 1 of 50 allowed.
< 220-Local time is now 22:01. Server port: 21.
< 220-IPv6 connections are also welcome on this server.
< 220 You will be disconnected after 15 minutes of inactivity.
> AUTH SSL
< 500 This security scheme is not implemented
> AUTH TLS
< 500 This security scheme is not implemented
> USER sduftp
< 331 User sduftp OK. Password required
> PASS sduftp
< 230-User sduftp has group access to: 100 33 17 16
< 230- 14
< 230 OK. Current directory is /
> PWD
< 257 "/" is your current location
* Entry path is '/'
> CWD /eLog
< 250 OK. Current directory is /A
> CWD Agent
< 250 OK. Current directory is /A/B
> CWD V100R001
< 250 OK. Current directory is /A/B/C
> CWD V100R001C01B001HPC1010
< 250 OK. Current directory is /A/B/C/D
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (10,x,x,x,163,241)
* Trying 10.x.x.x... * connected
* Connecting to 10.x.x.x (10.x.x.x) port 41969
> TYPE I
< 200 TYPE is now 8-bit binary
> SIZE abc.tar.gz
< 213 3469939
> RETR abc.tar.gz
< 150-Accepted data connection
< 150 3388.6 kbytes to download
* Getting file with size: 3469939
^X* Remembering we are in dir /A/B/C/D//
< 226-File successfully transferred
< 226 2.294 seconds (measured here), 1.44 Mbytes per second
* Connection #0 to host 10.x.x.x left intact
> QUIT
 
 
 
 
 

Regards
Kuriakose
 
 

 
 
-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Tuesday, April 10, 2007 8:07 PM
To: kuriakose_at_huawei.com; libcurl development
Subject: Re: difference in behaviour of libcurl in windos and linux

On Tue, 10 Apr 2007, kuriakose wrote:

>
> I have some code(in windows built in Visual studio 7.1) which uses
> libcurl to connect to FTP server using FTPS protocol. I have given the

Are you using the same libcurl version on both systems?

If so, can you please show us the full protocol dump of the command/response

communications when you run your app on these systems? (of course you should

edit out sensitive info before posting)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-04-10