Hi Gurus,
Is there a way to check if a file is ok before importing it?
Thank you,
Chem
Hi Gurus,
Is there a way to check if a file is ok before importing it?
Thank you,
Chem
open it in a text editor and see if it looks fine ![]()
Hi Normis,
I am afraid that I upload a broken import file and service would screw up…
No way to do that?
to make sure that everything is ok with your file:
more simple way - check the file size on router and original file.
Hi,
The problem is that the file to be imported is generated automatically, and it delete then creates interface address, dhcp leases, networks, fireall rules and queues. So I cant check against other files.
Thank you,
ChemiChon
you do not have to check against different files, and if you are using linux it is very easy:
first, upload, then download the same file again in new location, diff it, with original you just uploaded if it returns something - you have to upload that file again as it failed to upload completely.
What if file is correct but commands are messed up?
It would be nice if MT script can turn safe mode on and off. That way, each script could start fwith turning save mode on, and end with safemode of. If everything is ok, script wil reach it’s end. otherwise it will stop in middle of the job, and safe mode will save the day.