Respostas

  • tenta assim: 

    /tool fetch user=$USER password=$PASS url="https://$IPMKAUTH/mkt/pppoe" dst-path=mkt_pppoe.rsc;

     

    #===============================
    :global IPMKAUTH "172.31.255.2";
    :global USER "User_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    :global PASS "Pass_xxxxxxxxxxxxxxxxxxxxxxxxxxxx;
    :global done "";
    #/tool fetch mode=http user=$USER password=$PASS url="https://$IPMKAUTH/mkt/pppoe" src-path=mkt_pppoe.php dst-path=mkt_pppoe.rsc;
    /tool fetch user=$USER password=$PASS url="https://$IPMKAUTH/mkt/pppoe" dst-path=mkt_pppoe.rsc;
    :set done "true";

    :if ( [/file find name=mkt_pppoe.rsc] != "" ) do={
    :log warning "Importando PPPoE";
    /import mkt_pppoe.rsc;
    /file remove mkt_pppoe.rsc;
    }

This reply was deleted.