 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
ezecco Guest
|
Posted: Sat Oct 18, 2003 11:17 am Post subject: Urgent. How to know if the FTP server was down while tranfer |
|
|
When uploading/downloading, if the ftp server shutdown, how can I know that
? I am using indy 9.0.0.14.
Thanks.
|
|
| Back to top |
|
 |
Martin James Guest
|
Posted: Sat Oct 18, 2003 11:46 am Post subject: Re: Urgent. How to know if the FTP server was down while tra |
|
|
"ezecco" <ezecco (AT) hotmail (DOT) com> wrote
| Quote: | When uploading/downloading, if the ftp server shutdown, how can I know
that
? I am using indy 9.0.0.14.
|
TidFTP has a timeout property. Not sure what it's called exactly,
(timeout? readTimeout?), but it does work.
Rgds,
Martin
|
|
| Back to top |
|
 |
AKZ Guest
|
Posted: Sat Oct 18, 2003 12:08 pm Post subject: Re: Urgent. How to know if the FTP server was down while tra |
|
|
wrap it into try..except block and you will get exception if somethign is
wrong... including server shutdown.
"ezecco" <ezecco (AT) hotmail (DOT) com> wrote
| Quote: | When uploading/downloading, if the ftp server shutdown, how can I know
that
? I am using indy 9.0.0.14.
Thanks.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|