file size in server log
Moderator: Project members
file size in server log
I would like to draw a graph/report from the server logs containing the number of bytes being transferred to and from the server over time. Is there a a way to add the file size to the server log making it possible to draw such a report?
Re: file size in server log
It can be done if you know how to code an external batch script.opcthree wrote:...Is there a a way to add the file size to the server log making it possible to draw such a report?
Re: file size in server log
How would one go about doing that? Can you clarify your point? If you are implying that one could append the file size to the server log after FileZilla wrote the connection info to the log I would deem that as a risky adventure. The safest way to handle this is to ask for an enhancement to the FileZilla server code.horndog wrote:It can be done if you know how to code an external batch script.opcthree wrote:...Is there a a way to add the file size to the server log making it possible to draw such a report?
Re: file size in server log
Please refer back to the key word: "It can be done if you know how to code an external batch script."opcthree wrote: How would one go about doing that?
That being said, using a FOR IN DO command and a FINDSTR command you could find all the files in the log and append a file size to each each file on a log copy.
Perhaps, but I think botg already answered your request.opcthree wrote: ... The safest way to handle this is to ask for an enhancement to the FileZilla server code.
Re: file size in server log
Indeed he did. I will enter it as a feature request. Thanks.horndog wrote:Perhaps, but I think botg already answered your request.