TidFTP.OnWork - what is workcount?

Giganews Newsgroups
Subject: TidFTP.OnWork - what is workcount?
Posted by:  Marc Pelletier (marc@goldak.stopspam.ca)
Date: Wed, 30 Mar 2005

Hello,

I am trying to better understand the way ftp works and have been playing
with my ftp client. One of the things I'm confused about is the OnWork
event. I've summed the AWorkCount values on wmRead events during a session
where I transfer four files totalling about 4 meg, and the result is more
than 17 times the total bytes transferred.

The help file states that 'AWorkCount indicates the number of bytes sent or
received', but that doesn't seem to be the case. Its not bits, and I can't
imagine there is that much overhead in the file transfer, is there?

cheers

Marc Pelletier

Replies