Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Indy FTP Aborting file transfer
| Subject: | Re: Indy FTP Aborting file transfer |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Thu, 25 May 2006 11:14:59 |
"Lee Cook" <lee.cook@kwikhols.co.uk> wrote in message
news:4475a999$1@newsgroups.borland.com...
> Im sure this has been asked before
Everything that has ever been asked in these groups over the last 10 years
is in the public newsgroup archives at http://www.deja.com and is fully
searchable.
> i was hoping somebody could tell me the best / correct way to abort
> a transfer when it is in progress using indy Tidftp v10 with delphi 6.
TIdFTP has an Abort() method. Since the transfer is blocking the calling
thread, you can call Abort() in the OnWork events.
Gambit
none