QNetworkAccessManager and FTP Response 421: Too many connections from your IP

34 Views Asked by At

I'm using QNetworkAccessManager::get() to get ~200 small files via ftp protocol in a parallel threads.

As I expected I'm getting a FTP Response 421: "There are too many connections from your internet address" message from server after 20 files completed. I see this message in Wireshark's package capture. But I'm not getting it in QNetworkReply::errorOccurred or QNetworkReply::finished. This is a problem.

I don't mind to make a timebreak when getting such message but it seems to not be exposed to the developer. Am I correct? Perhaps QFtp allows to react on such responses?

0

There are 0 best solutions below