Début vérification de l'empreinte lors de l'envoi d'un fichier

This commit is contained in:
Benjamin
2022-03-13 12:29:05 +01:00
parent d7f1407c0c
commit 259bb3c730
6 changed files with 57 additions and 15 deletions

View File

@@ -55,7 +55,7 @@ func main() {
// protocolRepository.AddReader(&eraseFileRule)
// Creation of the SendFileRule // TODO reset to 50,200
sendFileRule := readers.CreateSendFileRule("^SENDFILE ([A-Za-z0-9.]{1,200}) ([0-9]{1,10}) ([A-Za-z0-9.]{50,200})\r\n$", protocolRepository)
sendFileRule := readers.CreateSendFileRule("^SENDFILE ([A-Za-z0-9.]{1,200}) ([0-9]{1,10}) ([A-Za-z0-9.]{50,200})\r\n$", protocolRepository, appConfig.StoragePath)
protocolRepository.AddReader(&sendFileRule)
// Create a Multicast Client & run it