When using the Store Object in conjunction with the function :ATTACH_RES it can happen that (some) files transferred to the Agent's files system are not removed after execution.
This was observed in cases where an archive files (tar.gz) was transferred and unarchived.
The function :ATTACH_RES transfers files in the related Store object to the Agent.
For instance, UC4 script statement: ':ATTCH_RES STORE.MYFILES, '*', T' moves all files in Store object STORE.MYFILES to
In most cases these files are removed after execution of the job finishes. When unzipping files the original files is sometimes not removed.
Release : 12.3
Component : AUTOMATION ENGINE
This behavior could be prevent by unzipping the files in a subfolder created for that purpose and removing the entire subfolder before finishing the script.
For instance with 'rmdir &$AGENT_RESOURCES_TASK#subfolder /s /q'
In that case also the original file is automatically removed.