cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: connects but then nothing

From: Dorr, Brad <Brad.Dorr_at_phns.com>
Date: Fri, 6 Oct 2006 13:55:03 -0400

Dan,

Sorry forgot the ssl. Here are the results. There are 2 tries below on port 21. And 2 on port 990.

curl --ftp-ssl -Svu ????:?? ftp://ftp.initiatesystems.com
* About to connect() to ftp.initiatesystems.com port 21
* Trying 66.105.34.179... connected
* Connected to ftp.initiatesystems.com (66.105.34.179) port 21
< 220 Initiate Systems Inc. Secure FTP Server (v. 2.0)
> AUTH SSL
< 234 AUTH Command OK. Initializing SSL connection.
* found 60 certificates in /opt/TWWfsw/curl715/share/ca-bundle.crt
* server certificate verification failed. CAfile: /opt/TWWfsw/curl715/share/ca-bundle.crt
* Closing connection #0

curl -ftp-ssl -Svu ????:????? ftp://www.initiatesystems.com
* About to connect() to www.initiatesystems.com port 21
* Trying 69.36.45.23... connected
* Connected to www.initiatesystems.com (69.36.45.23) port 21
< 220 propel Microsoft FTP Service (Version 5.0).
> USER ??????
< 331 Password required for mcla.
> PASS ?????
< 530 User ???? cannot log in.
* Access denied: 530
* Closing connection #0

curl -ftp-ssl -Svu ?:?? ftp://www.initiatesystems.com:990
* About to connect() to www.initiatesystems.com port 990
* Trying 69.36.45.23... A remote host refused an attempted connect operation.
* couldn't connect to host
* Closing connection #0

curl --ftp-ssl -Svu ??:??? ftp://ftp.initiatesystems.com:990
* About to connect() to ftp.initiatesystems.com port 990
* Trying 66.105.34.179... connected
* Connected to ftp.initiatesystems.com (66.105.34.179) port 990

Brad.

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of Dan Fandrich
Sent: Friday, October 06, 2006 1:27 PM
To: the curl tool
Subject: Re: connects but then nothing

On Fri, Oct 06, 2006 at 01:09:17PM -0400, Dorr, Brad wrote:
> Here are the results. I tried to diff URLs.
>
> curl -Svu ??:?? ftp://ftp.initiatesystems.com

This connection is not going to be encrypted, because you didn't use ftps:
or --ftp-ssl.

> * About to connect() to ftp.initiatesystems.com port 21
> * Trying 66.105.34.179... connected
> * Connected to ftp.initiatesystems.com (66.105.34.179) port 21
> < 220 Initiate Systems Inc. Secure FTP Server (v. 2.0)
> > USER ???
> < 331 Password required for PHFTP\mcla.
> > PASS ????
> < 530 Protocol not supported.
> * Access denied: 530
> * Closing connection #0

Looks like the server is complaining that you are sending your password in
cleartext.

> curl -Svu ??:? ftp://www.initiatesystems.com

Same thing--no encryption.

> * About to connect() to www.initiatesystems.com port 21
> * Trying 69.36.45.23... connected
> * Connected to www.initiatesystems.com (69.36.45.23) port 21
> < 220 propel Microsoft FTP Service (Version 5.0).
> > USER ???
> < 331 Password required for mcla.
> > PASS ??
> < 530 User ?? cannot log in.
> * Access denied: 530
> * Closing connection #0

Looks here like this server doesn't recognize your user ID.

Try the first example again, but use --ftp-ssl like I suggested.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-----------------------------------------
Disclaimer:
This electronic message, including any attachments, is confidential
and intended solely for use of the intended recipient(s). This
message may contain information that is privileged or otherwise
protected from disclosure by applicable law. Any unauthorized
disclosure, dissemination, use or reproduction is strictly
prohibited. If you have received this message in error, please
delete it and notify the sender immediately.
Received on 2006-10-06