Article View: borland.public.cppbuilder.internet.socket
Article #1764Re: Indy9 - BCB5 - FTP server - access violation errors
From: Remy Lebeau (TeamB)
Date: Wed, 08 Nov 2006 19:55
Date: Wed, 08 Nov 2006 19:55
18 lines
1507 bytes
1507 bytes
"Hanne B" <hb@aeromark.dk> wrote in message news:4551ac92@newsgroups.borland.com... > If a client is connected to the FTP server and retriving a huge file, then > I get EAaccessViolation errors if I want to disconnect the client by > the following code Why are you disconnecting the client manually? You should not be doing that. TIdFTPServer is currently not designed to handle server-side disconnections of transfers that are in progress. At the very least, you should be disconnecting the transfer's DataChannel first, so that it can send an error message back to the FTP client indicating that the transfer has failed. Gambit
Technical Details
Message-ID:
<4552371e$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4551ac92@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,942ca0ee33498431 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4551ac92@newsgroups.borland.com> Subject: Re: Indy9 - BCB5 - FTP server - access violation errors Date: Wed, 8 Nov 2006 11:55:59 -0800 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <4552371e$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163015966 69.169.4.232 (8 Nov 2006 11:59:26 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail