Tentative de regler le probleme de certificat a Beaugrand

This commit is contained in:
jfmartel 2024-07-02 12:40:41 -04:00
parent 911960a2af
commit f3ccfe42c0
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,3 @@
put ./Trains/LOGZT1_2024-06-04-10-54-27-273.bin CVRT-D-LOGZT1_2024-06-04-10-54-27-273.bin
put ./Trains/LOGZT1_2024-06-14-14-16-29-560.bin CVRT-D-LOGZT1_2024-06-14-14-16-29-560.bin
put ./LOG/LogZT.txt CVRT-LogZT.txt
put ./ING/IngLog.txt CVRT-IngLog.txt

View File

@ -114,11 +114,13 @@ int CSFTPServerManager::TransferTrainLogToSFTPServer(QString FileName, bool Dete
SFTPBatchFile->close();
delete SFTPBatchFile;
Cmd = QString ("sshpass -f ./password sftp -oBatchMode=no -b ./sftpbatch %1@%2").arg(mSFTPLogin).arg(mSFTPServerAddress);
//Cmd = QString ("sshpass -f ./password sftp -oBatchMode=no -b ./sftpbatch %1@%2").arg(mSFTPLogin).arg(mSFTPServerAddress);
Cmd = QString ("sshpass -f ./password sftp -oStrictHostKeyChecking=no -oBatchMode=no -b ./sftpbatch %1@%2").arg(mSFTPLogin).arg(mSFTPServerAddress);
#endif
// qDebug("Commande pour copie du fichier log: %s",qPrintable(Cmd));
CEngLog::instance()->AddLogString(QString("Commande pour copie du fichier log: %1").arg(Cmd),3);

View File

@ -29,9 +29,13 @@
#ifndef ZTVERSION_H
#define ZTVERSION_H
#define ZT_SOFT_VERSION "V1.26"
#define ZT_SOFT_VERSION "V1.26.1"
//LOG DES CHANGEMENTS
//Version 1.26.1
//-Ajout du flag pour ignorer la clef RSA lors du transfert FTP. Suite aux problemes
// a Beaugrand.
//Version 1.26
//-Ajout de la possibilité d'activer le module SFTP pour copier les logs sans que la
// communication avec la CC soit activée (ZT branchée sur le réseau mais interface