mutex->lock();
qWarning("AFTER MUTEX LOCK");
ftp->connectToHost (route,9012);
qApp->processEvents();
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
ftp->login ("administrator","admin");
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
connect(ftp,SIGNAL(stateChanged(int)),this,SLOT(St atus(int)));
connect(ftp,SIGNAL(dataTransferProgress(int,int)), this,SLOT(UpdateProgress(int,int)));
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
ftp->cd("C:'\'Administrator Documents and Settings'\'Administrator'\'Desktop'\'Inbox");
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
ftp->put( filetrans,aliasname);
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
qWarning("BEFORE MUTEX UNLOCK");
mutex->unlock();
mutex->lock();
qWarning("AFTER MUTEX LOCK");
ftp->connectToHost (route,9012);
qApp->processEvents();
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
ftp->login ("administrator","admin");
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
connect(ftp,SIGNAL(stateChanged(int)),this,SLOT(St atus(int)));
connect(ftp,SIGNAL(dataTransferProgress(int,int)), this,SLOT(UpdateProgress(int,int)));
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
ftp->cd("C:'\'Administrator Documents and Settings'\'Administrator'\'Desktop'\'Inbox");
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
ftp->put( filetrans,aliasname);
qWarning("######################################## ##CURRENT COMMAND::::"+ftp->currentCommand ());
qWarning("BEFORE MUTEX UNLOCK");
mutex->unlock();
To copy to clipboard, switch view to plain text mode
Bookmarks