On Tue, Jun 10, 2014 at 08:41:04AM +, tilo.mue...@bertelsmann.de wrote:
> Hi Alexander,
> yep, we’ve already tried cls before. But regarding the exit code, it works
> the same as ls.
You can use temporary files like this:
lftp> cls *.csv > listing
lftp> source -e "test -s lis
ilo, NMD-C4.2
Cc: Lista LFTp
Subject: Re: [lftp] lftp and patterns
Which backend protocol do you use? If ftp, then ls arguments are wholly passed
to server side as LIST argument. If other protocols, then most probably you may
only specify a directory to list.
There is another command - cls - which
Sorry I’ve forgot to mention, that we’re mostly using SFTP and FTPS (FTP only
in rare cases).
From: Mütze, Tilo, NMD-C4.2
Sent: Tuesday, June 10, 2014 10:41 AM
To: 'Alexander Lukyanov'
Cc: Lista LFTp
Subject: RE: [lftp] lftp and patterns
Hi Alexander,
yep, we’ve already tried cls b
Which backend protocol do you use? If ftp, then ls arguments are wholly
passed to server side as LIST argument. If other protocols, then most
probably you may only specify a directory to list.
There is another command - cls - which handles arguments locally and
provides better functionality compar
Hi,
is it somehow possible, to list files by using a pattern like:
ls *.csv
dir *.csv
And if no files are found, exit that ls or dir command with an exit code <> 0?
Regards,
Tilo
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/