Ajustements, prêt à tester sur site

This commit is contained in:
jfmartel
2023-12-01 09:37:00 -05:00
parent f70e09eda7
commit 74e1e26583
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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;
}