Ajustements, prêt à tester sur site
This commit is contained in:
@@ -86,7 +86,7 @@ int CSFTPServerManager::TransferTrainLogToSFTPServer(QString FileName, bool Dete
|
||||
QFile *SFTPBatchFile = new QFile("./sftpbatch");
|
||||
if(SFTPBatchFile->open(QFile::ReadWrite | QFile::Truncate | QFile::Text | QFile::Unbuffered) == false)
|
||||
{
|
||||
qDebug("Imposible d'ouvrir le fichier sftpbatch");
|
||||
// qDebug("Imposible d'ouvrir le fichier sftpbatch");
|
||||
SFTPBatchFile->close();
|
||||
delete SFTPBatchFile;
|
||||
return RET_ERROR;
|
||||
@@ -113,11 +113,11 @@ int CSFTPServerManager::TransferTrainLogToSFTPServer(QString FileName, bool Dete
|
||||
|
||||
#endif
|
||||
|
||||
qDebug("Commande pour copie du fichier log: %s",qPrintable(Cmd));
|
||||
// qDebug("Commande pour copie du fichier log: %s",qPrintable(Cmd));
|
||||
|
||||
if(mTransferProcess->state() != QProcess::NotRunning)
|
||||
{
|
||||
qDebug("Copie de fichier log avortée car QProcess roule");
|
||||
CEngLog::instance()->AddLogString("Copie de fichier log avortée car QProcess roule");
|
||||
return RET_ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user