🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdFTP usage???

#4042
From: qyte
Date: Thu, 14 Apr 2005 07:44
20 lines
2173 bytes
Remy Lebeau (TeamB) wrote:

> You won't be able to interrupt the current operation anyway.  The thread
> using the TIdFTP will be blocked while the TIdFTP is doing its work.  Your
> timer will only work while the thread is idle to begin with.  To make extra
> sure of that, you can always disable your timer while TIdFTP is working.

I did it inside a timer.
i check the status of the Client in OnStatus.
it works but now i have this problem.
when the timer calls Noop then there is a responce from the
server that says No-op OK. that responce arrives in about
1 second after the noop call. if i try in that second to
view the contents of a folder (or do anything) the program
stucks. it causes a lot of exceptions (both from the client
and from the timer) and then i try to close the form and there is
a messsage (connection closed gracefully) and then the program terminates.

i have also an IdAntifreeze dropped on the form.
I don't know if it does anything...???
Technical Details
Message-ID: <425e1f4c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <425cd0b5@newsgroups.borland.com> <425ce33a$2@newsgroups.borland.com> <425cffc3$1@newsgroups.borland.com> <425d4a8a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,758d735f53c89a3c
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 14 Apr 2005 10:44:09 +0300
From: qyte <gyte@vivodinet.gr>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: TIdFTP usage???
References: <425cd0b5@newsgroups.borland.com> <425ce33a$2@newsgroups.borland.com> <425cffc3$1@newsgroups.borland.com> <425d4a8a$1@newsgroups.borland.com>
In-Reply-To: <425d4a8a$1@newsgroups.borland.com>
Content-Type: text/plain; charset=windows-1253; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 83.171.210.195
Message-ID: <425e1f4c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113464652 83.171.210.195 (14 Apr 2005 00:44:12 -0800)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail