When I manually upload auto.rsc file, it works fine.
However, when I automate the process, the file does not run automatically unless I upload it TWICE. First upload, the log file has a size of 0. Second upload the log shows output, and the script executes just fine.
So far, I have tried 2 methods:
1. Using batch file to automate ftp login / commands.
2. Using fetch ftp to upload script between routers:
Code: Select all
/file print file=tmp
/file set tmp.txt contents="/log info testing"
/tool fetch address=192.168.0.25 src-path=tmp.txt user=admin mode=ftp upload=yes password=PASS dst-path=script.auto.rsc port=21;
Any ideas?