QNetworkAccessManager, finished signal NEVER emitted
I have created an app that performs FTP operations in loop.
The app is based on the QNetworkAccessManager class to perform:
- a PUT, to upload a file in the remote FTP
- a GET, to retrieve the uploaded file from the FTP
After several cycles the app freezes because the finished signal is NEVER emitted.
Before using the QNetworkAccessManager class I've tried to use the QFtp with the same results (commandFinished signal never emitted).
What is the cause of the problem? A bug in the QNetworkAccessManager/QFtp? A bug of the FTP server?
I'm using Qt 4.8.6 on Windows. The FTP server is FileZilla.
Thanks in advance
Hi and welcome to devnet,
Can you show your loop code ?