[lftp-devel] Compressing data at destination machine

2014-11-25 Thread akshay gupta
Hi,

I want to store the data that is being pulled by lftp mirror job in a
compressed format. Is it possible that mirror function can check file
download status from inside of that tar, zip etc. Is it possible to
implement such a functionality in lftp?

Thanks,
Akshay
___
lftp-devel mailing list
lftp-devel@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel


Re: [lftp-devel] [lftp] Compressing data at destination machine

2014-11-25 Thread Alexander V. Lukyanov
On Tue, Nov 25, 2014 at 06:44:32PM +0530, akshay gupta wrote:
 I want to store the data that is being pulled by lftp mirror job in a
 compressed format. Is it possible that mirror function can check file
 download status from inside of that tar, zip etc. Is it possible to
 implement such a functionality in lftp?

I don't think mirror will be able to extract compressed archives, but
you can download the archive and extract it at the same time, like this:

lftp cat file.tar.gz | tar xv

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