You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rich Bowen <rb...@rcbowen.com> on 2016/10/03 16:35:17 UTC

Re: [users@httpd] Showing exact filesize in bytes instead of shortform in directory listing


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


Re: [users@httpd] Showing exact filesize in bytes instead of shortform in directory listing

Posted by Marat Khalili <mk...@rqc.ru>.
On 03/10/16 19:35, Rich Bowen wrote:
> Or use rsync 

WebDAV would be more on-topic.

--

With Best Regards,
Marat Khalili

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org