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] some ftp servers hide dot-files by default

2013-12-23 Thread Noël Köthe
Hello,

today I were pointed to this part of the lftp manpage:

Some ftp servers hide dot-files by default (e.g. .htaccess),  and  show
them only when LIST command is used with -a option. In such case try to
use `set ftp:list-options -a'.

I found this wget patch which tries to solve this problem:

http://git.savannah.gnu.org/cgit/wget.git/commit/?id=c3835a425a2b441dd741c7edc1684310141fb385

I don't know if the dot file problem occurs often but maybe this
information from wget is helpfull. If not sorry for the noise.;)

Regards

Noel


signature.asc
Description: This is a digitally signed message part
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp