Hi,
I am wondering if anyone has used the modules from the wiki (im using vb.net module) to issue the fetch command?
Does the module need enhancing, or can you just do it via the “Send” command??
Any ideas on the syntax?
any help is appreciated.
Hi,
I am wondering if anyone has used the modules from the wiki (im using vb.net module) to issue the fetch command?
Does the module need enhancing, or can you just do it via the “Send” command??
Any ideas on the syntax?
any help is appreciated.
commands you can run in CLI can be executed using API and command will yield same result as if executed using API.
/tool/fetch
=url=http://demo.mt.lv/winbox/winbox.exe
perfect, exactly what i’m after, will implement tomorrow, any hassles will advise.
thank you for the response, appreciate it.
In 5.22 & 5.23:
06-02-2013 23.06.08 - info 102 - EXECUTE= /tool/fetch =url=http://demo.mt.lv/winbox/winbox.exe
06-02-2013 23.06.08 - DEBUG 11001 - 10.9.8.1 tr_mkrouter.msend /tool/fetch
06-02-2013 23.06.08 - DEBUG 11001 - 10.9.8.1 tr_mkrouter.msend =url=http://demo.mt.lv/winbox/winbox.exe
!re=status=connecting
!re=status=finished
!re=status=finished
!re=status=finished
!re=status=finished
!re=status=finished
!re=status=finished
!re=status=finished
!re=status=finished
!re=status=finished
!re=status=finished
!re=status=finished
06-02-2013 23.06.19 - Warning 112 -
06-02-2013 23.06.19 - Warning 114 - EXECUTE= /CANCEL
06-02-2013 23.06.19 - DEBUG 11001 - 10.9.8.1 tr_mkrouter.msend /cancel
!trap=category=2=message=interrupted
!done
!done
![]()
Yeah. This is a known issue in RouterOS 5.*. It is already fixed in the upcoming RouterOS 6, from what I’ve read elsewhere in the forum.
In the meantime - you need to check each response, and “/cancel” the command once the status is “finished”.
I’m not sure how you do that with any .NET client, but it seems like the only .NET client to have such an ability would be mikrotik4net.