Tentative de regler le probleme de certificat a Beaugrand
This commit is contained in:
parent
911960a2af
commit
f3ccfe42c0
@ -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 ./LOG/LogZT.txt CVRT-LogZT.txt
|
||||||
put ./ING/IngLog.txt CVRT-IngLog.txt
|
put ./ING/IngLog.txt CVRT-IngLog.txt
|
||||||
@ -114,11 +114,13 @@ int CSFTPServerManager::TransferTrainLogToSFTPServer(QString FileName, bool Dete
|
|||||||
SFTPBatchFile->close();
|
SFTPBatchFile->close();
|
||||||
delete SFTPBatchFile;
|
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
|
#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);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -29,9 +29,13 @@
|
|||||||
#ifndef ZTVERSION_H
|
#ifndef ZTVERSION_H
|
||||||
#define ZTVERSION_H
|
#define ZTVERSION_H
|
||||||
|
|
||||||
#define ZT_SOFT_VERSION "V1.26"
|
#define ZT_SOFT_VERSION "V1.26.1"
|
||||||
|
|
||||||
//LOG DES CHANGEMENTS
|
//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
|
//Version 1.26
|
||||||
//-Ajout de la possibilité d'activer le module SFTP pour copier les logs sans que la
|
//-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
|
// communication avec la CC soit activée (ZT branchée sur le réseau mais interface
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user