PDA

View Full Version : QFtp with no network connection



josepvr
19th November 2008, 15:03
Hi everybody,

i've writed an application that connects to FTP server and downloads some files. It works correctly but my problem is my network connection goes down some times(for some other reasons).

I've a timeout method that calls clearPendingCommands(), abort() and close(), but connection is never closed when network is down and if I try to reconnect to server when network is up my FTP application doesn't do anything.

The only solution to reconnect my application to ftp server is restarting the application but is not a good solution for me.

Thanks a lot!