KBI 311831 New Feature: New Keywords To Retrieve Downloaded File When Running Web Session Scripts In Argent Sentinel

Version

Argent Advanced Technology 5.1A-2004-B and above

Date

Thursday, 7 May 2020

Summary

The new keyword “GetDownloadedFile” is introduced in Argent Sentinel 5.1A-2004-B

It is used to retrieve the downloaded file after the user clicks on some link or button

A sample Rule, which downloads the Skype Monthly Usage Report, is shown below

The syntax is as follows:

downloaded = GetDownloadedFile(timeout)

After successfully retrieving the path of the downloaded file, the user can do either of following:

  • Use keyword “MoveFileToFolder” to move the downloaded file to a specific folder for further processing

    The syntax is

    new_path = MoveFileToFolder(downloaded, folder)

  • Use keyword “SendEmail” to email the downloaded file as an attachment

    The syntax is

    Email Type: 0 (MAPI), 1 (SMTP), 2 (Lotus Note), 3 (EWS)

    SendEmail email_address, subject, message, attached_file_path, email_type

The feature has been implemented in Argent AT 5.1A-2004-B

Technical Background

N/A

Resolution

Upgrade to Argent Advanced Technology 5.1A-2004-B or above