file size in server log

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
opcthree
500 Command not understood
Posts: 3
Joined: 2010-08-02 11:17
First name: Orlando

file size in server log

#1 Post by opcthree » 2010-08-02 11:20

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?

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: file size in server log

#2 Post by botg » 2010-08-02 12:02

No.

horndog
550 Permission denied
Posts: 27
Joined: 2010-06-13 21:27
First name: Stuart
Last name: Kay

Re: file size in server log

#3 Post by horndog » 2010-08-02 17:05

opcthree wrote:...Is there a a way to add the file size to the server log making it possible to draw such a report?
It can be done if you know how to code an external batch script.

opcthree
500 Command not understood
Posts: 3
Joined: 2010-08-02 11:17
First name: Orlando

Re: file size in server log

#4 Post by opcthree » 2010-08-02 17:13

horndog wrote:
opcthree wrote:...Is there a a way to add the file size to the server log making it possible to draw such a report?
It can be done if you know how to code an external batch script.
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
550 Permission denied
Posts: 27
Joined: 2010-06-13 21:27
First name: Stuart
Last name: Kay

Re: file size in server log

#5 Post by horndog » 2010-08-02 17:35

opcthree wrote: How would one go about doing that?
Please refer back to the key word: "It can be done if you know how to code an external batch script."
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.
opcthree wrote: ... The safest way to handle this is to ask for an enhancement to the FileZilla server code.
Perhaps, but I think botg already answered your request.

opcthree
500 Command not understood
Posts: 3
Joined: 2010-08-02 11:17
First name: Orlando

Re: file size in server log

#6 Post by opcthree » 2010-08-02 17:38

horndog wrote:Perhaps, but I think botg already answered your request.
Indeed he did. I will enter it as a feature request. Thanks.

Post Reply