Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: FTP upload stalling

www.cryer.info
Managed Newsgroup Archive

Re: FTP upload stalling

Subject:Re: FTP upload stalling
Posted by:"Barry" (barry_morris@nospam.btinternet.com)
Date:Wed, 24 Oct 2007 10:56:41

Hi Gambit

I have had feedback from my user and he is happy now that passive mode has
been set.

I also implemented Post_Message instead of Synchronize as you suggested.

Barry


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:471d0272$2@newsgroups.borland.com...
>
> "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

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive