🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1757

Indy9 - BCB5 - FTP server - access violation errors

#1757
From: Hanne B
Date: Wed, 08 Nov 2006 10:08
17 lines
1287 bytes
I have problems using Indy9 TIdFTPServer component.

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

if (AThread->Connection->ClosedGracefully == false)
    AThread->Connection->Disconnect()

AThread->StopMode = smTerminate;
AThread->Stop();


How do I avoid such errors ?


Regards Hanne
Technical Details
Message-ID: <4551ac92@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,942ca0ee33498431
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Hanne B" <hb@aeromark.dk>
From: "Hanne B" <hb@aeromark.dk>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Indy9 - BCB5 - FTP server - access violation errors
Date: Wed, 8 Nov 2006 11:08:16 +0100
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 83.91.195.110
Message-ID: <4551ac92@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1162980498 83.91.195.110 (8 Nov 2006 02:08:18 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail