Вопрос

I have a TIdFTPServer that has several clients connected simultaneously. I want to monitor the progress of each of the client downloads.

Anybody know if this is possible?

Это было полезно?

Решение

Not natively, no. However, the OnRetrieveFile and OnStoreFile events allow you to provide your own TStream objects for transferring the raw file data, so you can write your own TStream descendant classes and have them override the virtual Read() and Write() methods, or use Indy's own TIdEventStream class, to do whatever you need.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top