Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top