Re: [lftp] ftp vs sftp

2013-12-23 Thread Alexander V. Lukyanov
On Fri, Dec 20, 2013 at 07:09:36AM -0500, Robert DuToit wrote:
> lftp -u username/password server to connect via an expect script. We need to 
> specify whether it is sftp or ftp
> 
> does   "lftp -u username/password sftp://server"; guarantee that is an sftp 
> connection?

Yes. You can also specify login/password in the URL like this:

lftp sftp://username:password@server

> Just want to be sure my usage sets the protocol correctly for lftp to use 
> with ftp or sftp.

You can turn on debug and see that the protocol is really sftp (lftp -d
option or command "debug").

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


[lftp] ftp vs sftp

2013-12-20 Thread Robert DuToit
Hi Alexander,

I am using 

lftp -u username/password server to connect via an expect script. We need to 
specify whether it is sftp or ftp

does   "lftp -u username/password sftp://server"; guarantee that is an sftp 
connection?  

I know you say in man page to specify with the open command

lftp open sftp://server

Just want to be sure my usage sets the protocol correctly for lftp to use with 
ftp or sftp.

Thanks,   Rob





___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp