Discussion:
ftp vs sftp
Robert DuToit
2013-12-20 12:09:36 UTC
Permalink
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
Alexander V. Lukyanov
2013-12-23 09:13:25 UTC
Permalink
Post by Robert DuToit
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?
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.
Loading...