Quote:Hi everyone I am trying to download a file from Ftp server every 30 min or 20 min. In order to do this i am making connection and disconnecting every 30 minutes but when I try to download a file from multiple sites at same time it gives me error because while multiple sites try to disconnect please help me what should I do. I making program in C++ with QT library and my source code is very huge therefore I have putted disconnect part Quote:and how can I make disconnect as soon as I make connect to Ftp server
Quote:and how can I make disconnect as soon as I make connect to Ftp server
void FtpClientThread::stopDownloading() { _timer.stop(); _pFtp->close(); _pFtp->deleteLater(); _pFtp = 0; }</blockquote>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)