Rapid command sequence cause TidFTPServer to hang

Giganews Newsgroups
Subject: Rapid command sequence cause TidFTPServer to hang
Posted by:  Sergey I Kireev (sikire…@mail.ru)
Date: Tue, 11 May 2004

I made simple FTP server with TidFTPServer and try use it with TidFTP
client-robot (passive).
Tipical scenario:
- connect
- cycle begin (many times)
    - put, get, list, cwd ...
-cycle end
-disconnect

TidFTP freeze or disconnects by timeout, every time in different conditions
(not at the same line of code).
Problem solved by putting WinAPI sleep(1000) call betwen TidFTP ftp
commands.
Is there any another solution?

Thanks in advance,
Sergey I Kireev

Replies