RE: How to use curl command line to use ftps?
Date: Tue, 5 Sep 2006 15:12:51 +0100
Thanks for your help, Dan. I was confusing FTPS with SFTP.
> -----Original Message-----
> From: curl-users-bounces_at_cool.haxx.se
> [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Dan Fandrich
> Sent: 04 September 2006 21:11
> To: curl-users_at_cool.haxx.se
> Subject: Re: How to use curl command line to use ftps?
> On Mon, Sep 04, 2006 at 08:45:20PM +0100, Keith MacDonald wrote:
> > I'm a newcomer to curl, so I hope this isn't a dumb
> question. What is the
> > syntax for using a secure FTP connection?
> > I couldn't find any examples, so I tried the following
> command on a Windows
> > XP client:
> > curl -k -v --user name:passwd ftp.host.com:22/
> It sounds like you're confusing ftps with sftp. Which is it that your
> server is running? curl only supports the former (the latter
> is a protocol
> running over ssh). The syntax depends on the ftps variant
> supported by
> the server. Either
> curl --ftp-ssl --user name:passwd ftp://ftp.host.com/
> curl --user name:passwd ftps://ftp.host.com/
> should do it. You shouldn't need to specify the port number
> unless you have
> an unusual server setup.
> >>> Dan
> http://www.MoveAnnouncer.com The web change of
> address service
> Let webmasters know that your web site has moved
Received on 2006-09-05