Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: INDY 10 FTP LIST Hangs

www.cryer.info
Managed Newsgroup Archive

Re: INDY 10 FTP LIST Hangs

Subject:Re: INDY 10 FTP LIST Hangs
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 3 Apr 2006 11:58:17

"Steve Sharpe" <steve.sharpe@teleplan-uk.com> wrote in message
news:4430cf80$1@newsgroups.borland.com...

> 24.03.06 22:54:05:588 sdftp.dhl.co.uk LIST Files - *.*
> 24.03.06 22:54:05:635 sdftp.dhl.co.uk Starting FTP transfer
>
>
> Hung at this point.... when you would normally get "Transfer complete"

Just like with actual file transfers, directory listings also require a
secondary data connection to be established.  If you have a firewall or
router on your network that is interferring with that connection, then weird
things can happen.  One way around that is to always set your TIdFTP to
Passive mode before doing any transfers.  Passive mode is friendlier to
firewall/routers.

The other thing to keep in mind is that you should always make sure you are
always using the absolute latest snapshot of Indy 10 before reporting
problems.  In this particular case, TIdFTP has had recent work done on its
error handling and timeout handling for transfers.  In earlier builds, under
Active mode transfers, if a response was blocked by a firewall/router,
TIdFTP could hang forever.  That should not be the case anymore.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive