Search found 10 matches
- Tue Apr 09, 2024 1:16 pm
- Forum: Usage, tips and tricks
- Topic: Copy files from storage to server with checks?
- Replies: 8
- Views: 7205
Re: Copy files from storage to server with checks?
Ahhh, didn't even know about that - it explains everything!
- Tue Apr 09, 2024 10:23 am
- Forum: Usage, tips and tricks
- Topic: Copy files from storage to server with checks?
- Replies: 8
- Views: 7205
Re: Copy files from storage to server with checks?
This seems to work perfectly. I have tested renaming some non-video file to .mp4 - it "failed". I also tried valid mp4-files that was too short and too long, and they also "failed". It seems to process regular files as expected. Just have to dismantle what you have done to unders...
- Mon Apr 08, 2024 11:05 am
- Forum: Usage, tips and tricks
- Topic: Copy files from storage to server with checks?
- Replies: 8
- Views: 7205
Re: Copy files from storage to server with checks?
Hmm, the MD5-file can be copied using a designated workflow that only picks up those files, so lets forget about the MD5. By "vaild" I mean not corrupt. We have encountered trouble where the recorder has lost control over the video file and that ends up with a corrupt file unreadable by mo...
- Sun Apr 07, 2024 7:09 pm
- Forum: Usage, tips and tricks
- Topic: Copy files from storage to server with checks?
- Replies: 8
- Views: 7205
Copy files from storage to server with checks?
Hi, I'm wondering if it possible to get FFAStrans to help me do a couple of checks when copying files between to servers. The recorder records mp4-files and creates md5 checksum files in it's folder after finished recording a file. What I want is a way to check that the files is not corrupt, and hav...
- Wed Apr 28, 2021 6:18 pm
- Forum: Usage, tips and tricks
- Topic: Create .md5-file after a file is delivered?
- Replies: 13
- Views: 9367
Re: Create .md5-file after a file is delivered?
Great! Thanks, this worked perfect!
- Tue Apr 27, 2021 4:07 pm
- Forum: Usage, tips and tricks
- Topic: Create .md5-file after a file is delivered?
- Replies: 13
- Views: 9367
Re: Create .md5-file after a file is delivered?
I have tried to implement the .ToLower-command in the string %comspec% /C "powershell -command "Get-FileHash -Algorithm md5 "%s_source%" | Select-Object -ExpandProperty Hash" " I'm not able to implement in a way that gives the output as lowercase. Either it fails, it do...
- Mon Apr 26, 2021 7:12 pm
- Forum: Usage, tips and tricks
- Topic: Create .md5-file after a file is delivered?
- Replies: 13
- Views: 9367
Re: Create .md5-file after a file is delivered?
Have had some time off, and IP I'm posting from has been blocked from posting for almost a week now. Instead of trying to explain, I'm including my workflow. I have everything working as expected now, except from that the MD5 checksum inside the file is in uppercase. Getting the delivery path from m...
- Mon Apr 26, 2021 6:27 pm
- Forum: Usage, tips and tricks
- Topic: Create .md5-file after a file is delivered?
- Replies: 13
- Views: 9367
Re: Create .md5-file after a file is delivered?
Hah, almost done. With the examples you provided in the json-file it was almost there. Just didn't understand why it didn't write the file until I opened my eyes, it wrote it on my pick-up folder;). The file flow is: 1. (folder monitor) Pick up from folder when file is not growing any more. 2. (deli...
- Fri Apr 16, 2021 6:30 pm
- Forum: Usage, tips and tricks
- Topic: Create .md5-file after a file is delivered?
- Replies: 13
- Views: 9367
Re: Create .md5-file after a file is delivered?
Hmm, I see that I forgot to specify the output. It should be a new file with the same name as the hashed file, with an added -md5 on the end, and the file should look like this (on one line) 38d9a71e3722281cd61a684814a20d5e Filename.mp4 I have been writing some batch scripts back in the years, but I...
- Fri Apr 16, 2021 11:03 am
- Forum: Usage, tips and tricks
- Topic: Create .md5-file after a file is delivered?
- Replies: 13
- Views: 9367
Create .md5-file after a file is delivered?
Hi, I'm delivering files to a folder which is picked up by an external company that uses MD5-checksums to check that the download is correct. At the moment I have gotten help to create a powershell-script that creates those files on all files in the folder, and runs this with windows task scheduler ...