Autor Beitrag
ma$ter
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 21.08.07 19:52 
Hallo,
in einem meiner Programme kann man mit IdFTP (Indy) Dateien per FTP uploaden. Einige der Benutzer besitzen ortsbedingt nur eine 56k Internetverbindung - zusätzlich ist der Server nicht der schnellste. Während der Verbindung zum Server (connect) stockt das Programm sehr. Application.ProcessMessages hilft nicht wirklich - hat jemand eine Idee ?
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 21.08.07 19:55 
Moin!

Das liegt daran, dass die Indies mit blocking-socket-calls arbeiten. Lagere den FTP-Transfer in einen eigenen Thread aus, dann ist das "Stocken" weg. :idea: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
little-wolf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47

WinXP
Delphi 5 Enterprise, Delphi 2006 Enterprise
BeitragVerfasst: Mi 22.08.07 16:34 
hallo ma$ter

pigfacejoe hat hier zum selben thema bereits geholfen:
www.delphi-forum.de/viewtopic.php?t=75619

evtl. bringt dich das weiter...

gruss

little-wolf