Using /import with API

How do you specify the script file you want to run? I have tried adding an argument “filename=myscript.rsc” which resulted in a trap.

Thanks in advance . . .

I have not tried it, but it should be

/import
=filename=myscript.rsc

Requires two sends. The “/import” should be sent without the terminating zero. The “=filename=myscript.rsc” send should have the terminating zero.

I didn’t post my exact api string correctly in my original post. I believe I’m sending it exactly as you, but I get a trap that reports ‘unknown parameter’

Can you confirm if this indeed works for you or not?

EDIT: I can confirm it does work, but not with the parameters I tried. Try this:

/import
=file-name=myscript.rsc

ADD: They couldn’t just use “=file=” like export? Jeez!!

You can use fetch with auto for autoimport

M.