Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: FTP upload stalling
| Subject: | Re: FTP upload stalling |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Mon, 22 Oct 2007 13:04:19 |
"Barry" <barry_morris@nospam.btinternet.com> wrote in message
news:471cf3c2$1@newsgroups.borland.com...
> How do you make sure the command channel is not dropped
You don't. Not reliably, anyway. There simply is nothing in the FTP spec
that allows for keeping the command connection from becoming idle during a
transfer. Some client apps do allow NOOPs or other commands to be sent, but
that is not standard behavior. Also, not all firewalls/routers are
FTP-aware enough to recognize a transfer is in progress, either.
> by sending NOOP when I detect a stall? Is it okay to do this
> during an upload?
Some servers do support that, but most do not. Besides, the idling is not
happening at the server level. The server knows which connections belong to
which clients and will not idle out the command connection. The idling is
happening at the router/firewall level outside of the server's control.
Gambit