Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: Indy 10 FTO and large files
| Subject: | Re: Indy 10 FTO and large files |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 12 Feb 2008 14:57:09 |
"KarlLogan" <karl_logan@yahoo.com> wrote in message
news:47b220d9@newsgroups.borland.com...
> What would be the best way to send the NOOP?
Unfortunately, TIdFTP does not provide any direct way of sending a keepalive
command.
> Can I do that from the OnWork method every x minutes
Perhaps. The only real downside would be a timing issue to worry about.
When you send the NOOP, you can't really receive it right away, or you might
end up recieving the response to the original STOR command instead. But if
you don't receive it right away, then you end up with an extra response on
the control channel that needs to be removed before you can safely send any
future commands.
> this should not mess with the data channel stream, should it?
No, since the command has to go over the control channel, not the data
channel.
Gambit