{%
    if IsLocalFile then
        echo('Add user public key successfully.')
    end

    if State == 'New' then
        echo('Downloading...')
    end

    if State == 'Exception' or State == 'Killed' or State == 'Cancelled' then
        echo('Add user public key failed.')
    end

    if State == 'Completed' then
        echo('Add user public key successfully')
    end
%}