httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] Showing exact filesize in bytes instead of shortform in directory listing
Date Mon, 03 Oct 2016 16:35:17 GMT


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@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon


Mime
View raw message