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