🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SLOW ftp upload

#3708
From: Remy Lebeau (TeamB)
Date: Sat, 23 Jul 2005 20:15
16 lines
1628 bytes
"Blake Young" <blakeyoung@mail.utexas.edu> wrote in message
news:42e285f7$1@newsgroups.borland.com...

> Here is a complete program example showing my problem.  I've
> noticed that as soon as the Put() command is executed, my program
> appears to stop responding.

Indy is a blocking library.  Its operations do not return control to the
caller until the operations finish.  You are calling Put() in the context of
the main VCL thread.  That is why everything is frozen while Put() does its
work.  You need to either place a TIdAntiFreeze on the form, or else move
the TIdFTP to its own worker thread.


Gambit
Technical Details
Message-ID: <42e2a682$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42e09342@newsgroups.borland.com> <42e17c71$1@newsgroups.borland.com> <42e18444$1@newsgroups.borland.com> <42e285f7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,752f9577c22b21e3
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: <42e09342@newsgroups.borland.com> <42e17c71$1@newsgroups.borland.com> <42e18444$1@newsgroups.borland.com> <42e285f7$1@newsgroups.borland.com>
Subject: Re: SLOW ftp upload
Date: Sat, 23 Jul 2005 13:15:22 -0700
Lines: 18
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: 68.69.17.41
Message-ID: <42e2a682$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1122150018 68.69.17.41 (23 Jul 2005 13:20:18 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail