Re: Showing exact filesize in bytes instead of shortform in directory listing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 09/30/2016 09:55 AM, Christopher Schultz wrote:
>> > Background: I want to mirror the directory with lftp, and lftp can
>> > not read the given filesize correctly out of the index. So lftp has
>> > to make HEAD requests to get the file size for each file. The
>> > additional HEAD requests would be not necessary if the index
>> > returns the exact file size.
>> > 

> It sounds like this is a good candidate for a web service which
> returns exactly the information you need and no more. For example, if
> you were to return the list of files and their file sizes as a CSV or
> something simpler than an HTML document, you would be able to do it
> even more easily.

Or use rsync

-- 
Rich Bowen - rbowen@xxxxxxxxxxx - @rbowen
http://apachecon.com/ - @apachecon

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux