PDA

View Full Version : ftp using QNetworkAccessManager doesn't recover gracefully from network outage



dabbler
7th August 2010, 09:55
I'm at a loss how to debug this.


My application mostly works. I'm using QNetworkAccessManager to send a screencapture to a remote FTP server.


If during the middle of the transfer, I unplug my laptop from the internet, the transfer stops. Duh. Of course, it must.


But my problem is that it does NOT send an error anywhere that I can find. And when I reconnect the internet, it does NOT recover and continue NOR allow future put() requests to work at all.


Basically, all of my transfer capability dies after this error.


Shouldn't QT 4.6.2 be able to recover gracefully from this?


Thanks in advance for any ideas you can offer.