Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Freeze with Indy IdFTP

Status
Not open for further replies.

Oneleg

Programmer
Oct 15, 2007
10
0
0
SE
I have a strange problem with a program that uses the Indy component "IdFTP".

OS: Windows XP

Description: The program moves files from the local network to another network via FTP.

Problem: If I switches from this program to another during the movement of several files it freezes.

Tried: I commented out the row that copies the files from the local network to the other network and replaced it with a Sleep for 2 seconds. Now my program works. This makes me believe it's the IdFTP that is the problem.
 
I added the command "Application->ProcessMessages();" in my loop that moves the files...

This forces the GUI to update each iteration of the loop and prevents the freeze.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top