mutex->lock();
ftp->connectToHost (route,9012);
ftp->login ("administrator","admin");
connect(ftp,SIGNAL(stateChanged(int)),this,SLOT(Status(int)));
connect(ftp,SIGNAL(dataTransferProgress(int,int)),this,SLOT(UpdateProgress(int,int)));
ftp->put( filetrans,aliasname);
mutex->unlock();
mutex->lock();
ftp->connectToHost (route,9012);
ftp->login ("administrator","admin");
connect(ftp,SIGNAL(stateChanged(int)),this,SLOT(Status(int)));
connect(ftp,SIGNAL(dataTransferProgress(int,int)),this,SLOT(UpdateProgress(int,int)));
ftp->put( filetrans,aliasname);
mutex->unlock();
To copy to clipboard, switch view to plain text mode
Bookmarks