cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: LibCurlNet: SSL23_GET_SERVER_HELLO error with secure ftp site

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 7 Dec 2005 11:52:08 -0800

On Wed, Dec 07, 2005 at 11:14:04AM -0800, Bailo, John wrote:
>
>
> I was able to connect to this site and upload a file using a program called
> FtpBear that is part of my Suse Linux distro.
>
>
>
> When it connected I selected ftps and I think it set the port to 22.

Are you sure it wasn't sftp? That one runs on port 22.

> Do I need to set any other parameters?

sftp on port 22 is a completely different protocol from ftps on port 21.
sftp is based on ssh, and curl does not support it.

> >From what you've seen in the code, am I doing the equivalent of an ftps (is
> that the same as SSL) on port 22?
>
>
>
> How do I set a port?

The port is set in the URL, following the host name and a colon.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-12-07