Martin T writes:
>I have a SLAX script where I execute "request system license save
>ftp://root:[email protected]"; command.

[Background: the UI comes in two pieces.  The CLI process handles
terminal I/O, key-bindings, automore, file transfers, and not much
else.  The real brain resides in MGD, which understands commands,
RPCs, how to parse them and what to do with them.]

The "request system license save" command uses both halves.  MGD
asks CLI to do the transfer, and then MGD does with real work.

SLAX scripts use the API directly, so it cannot perform the
file-transfer.

The fix is to pass a local file name to the "request system license
save" command RPC and then do the transfer explicitly using the
<file-put> RPC.

Thanks,
 Phil
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to