"/system upgrade" can't be scripted in auto.rsc file?

I’m trying to put the following script into a auto.rsc file without much success. It seems that the fact that the password (“blahblah”) is entered on a seperate line stops the entire auto.rsc file from executing. Is there a way to pass the password as part of first line? The script runs fine when cut and paste into a terminal window.

/system upgrade upgrade-package-source add address=192.168.1.1 user=“admin”
blahblah

Thanks,
Ken

This should be fixed in 3.10

No it is not. Or it is at least broken again.
See: http://forum.mikrotik.com/t/script-adding-upgrade-source/23181/8


Tested with file test.auto.rsc:

:log warning "Attempting import."
/system upgrade upgrade-package-source add address=192.168.1.1 user="admin"
blahblah

:log warning "Import successful!"

The log reports:

system, info, account    user admin logged in from 192.168.1.10 via ftp
script, warning          Attempting import.
script, error            script error: Script Error: this command requires user input

test.auto.log is created, but is empty.