Closed Randomjunk999 closed 6 years ago
What version of Ubuntu? What does python --version
say?
Hi, It's Ubuntu 18.04 with Python 3.6.5 (What are you using to run & I'll try that one.)
Ahh, I developed this with Python 2. So I think this is a dupe of #5. I'm playing around with upgrading, but the workaround is to do sudo python2 hikvision_tftpd.py ...
I get:
./hikvision_ftfpd.py: 8: ./hikvision_tftpd.py: Syntax Error: newline unexpected
(Running on Ubuntu in VirtualBox with the "$ sudo ./hikvision_tftpd.py --server-ip=172.9.18.80 --filename=digicap.mav" version of the command)