Article View: borland.public.cppbuilder.internet.socket
Article #307Re: IdFTPServer server and firewall
From: roladdon
Date: Thu, 10 Apr 2008 02:52
Date: Thu, 10 Apr 2008 02:52
32 lines
2195 bytes
2195 bytes
I just wanted to make sure that what I am doing is right (I havn't used
TIdSync before):
in the Main form .h file rigth after the line " extern PACKAGE TForm1
*Form1;"
I added:
_________________________________________________
class TUpdateMemo : public TIdSync
{
protected:
AnsiString txt;
public:
__fastcall TUpdateMemo(AnsiString s){txt = s;}
void __fastcall DoSynchronize(void)
{
Form1->Memo1->Lines->Add(txt);
}
};
_________________________________________________
then - in IdFTPServer1PASVReply(TIdFTPServerContext.......)
I changed the code to:
___________________________________________________
TUpdateMemo *um = new TUpdateMemo("PASV command");
um->Synchronize();
delete um;
___________________________________________________
thanks,
Roland
Technical Details
Message-ID:
<47fd80d1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!feeder1.cambrium.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<47fbd697@newsgroups.borland.com> <47fbdfde$1@newsgroups.borland.com> <47fc0c8a@newsgroups.borland.com> <47fc0dc4$1@newsgroups.borland.com> <47fc1653@newsgroups.borland.com> <47fc471d$1@newsgroups.borland.com> <47fc6112$1@newsgroups.borland.com> <47fcd43b$1@newsgroups.borland.com> <47fcefc5@newsgroups.borland.com> <47fcf224$1@newsgroups.borland.com> <47fd067c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3bf5299e11a8ee87 X-Google-Attributes: gid11508e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "roladdon" <roladdon@PutMyServerHere.ca> From: "roladdon" <roladdon@PutMyServerHere.ca> Newsgroups: borland.public.cppbuilder.internet.socket References: <47fbd697@newsgroups.borland.com> <47fbdfde$1@newsgroups.borland.com> <47fc0c8a@newsgroups.borland.com> <47fc0dc4$1@newsgroups.borland.com> <47fc1653@newsgroups.borland.com> <47fc471d$1@newsgroups.borland.com> <47fc6112$1@newsgroups.borland.com> <47fcd43b$1@newsgroups.borland.com> <47fcefc5@newsgroups.borland.com> <47fcf224$1@newsgroups.borland.com> <47fd067c$1@newsgroups.borland.com> Subject: Re: IdFTPServer server and firewall Date: Wed, 9 Apr 2008 22:52:03 -0400 Lines: 34 Organization: AddOn X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 65.94.56.175 Message-ID: <47fd80d1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1207795921 65.94.56.175 (9 Apr 2008 19:52:01 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!feeder1.cambrium.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.isoc.lu!newsgroups.borland.com!not-for-mail