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