Pasting script into Winbox / ssh terminal
Posted: Tue Jan 27, 2015 6:54 pm
I've been reading about Dynamic DNS scripts on the forum, so I wanted to test it. But when I try to past a script into Winbox or ssh terminal, it does not seem to work:
What I am doing wrong, or has this functionality changed?
Code: Select all
[admin@MikroTik] > /system scriptadd name=ddns policy=\
syntax error (line 1 column 35)
[admin@MikroTik] > <pre>ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \
expected command name (line 1 column 1)
[admin@MikroTik] > source="# HomingBeacon Main Dynamic DNS Update Script\r\
syntax error (line 1 column 7)
[admin@MikroTik] > \n# Written by Sam Norris, ChangeIP.com\r\
expected command name (line 1 column 1)
[admin@MikroTik] > \n# 20100728 Tested on RouterOS 4.9\r\
expected command name (line 1 column 1)
....