I have Mikrotik 3.3, I have a dyndns script, which not works, because of this line:

/tool fetch mode=http address="checkip.dyndns.org" src-path="/" 

bad-argument name src-path (line 1 column 52)

What can be the problem?


From the Wiki: http://wiki.mikrotik.com/wiki/Manual:Tools/Fetch

"Fetch is one of the console tools in Mikrotik RouterOS. It is used to copy files from any network device to a Mikrotik router via HTTP or FTP. In latest v5 versions it is possible also to upload files to remote locations."

src-path (string; Default: ) Title of the remote file you need to copy.

From what I gather here src-path needs to be a filename, not just "/". Try to rerun the command and specify a filename.

| improve this answer | |

I try it on ROS 6.10. It work.

There some dumb error that I miss to copy, like wrong line continuation, "[/b]" at end or something similar.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.