Question

Automatically delete the file in the ‘Temp’ folder under Local Checkout Path

  • 11 December 2023
  • 1 reply
  • 59 views

Badge

Create a new document and check in a file under Document Revision.

Use ‘View Document’ to view the file.

Then the file will be opened in local PC for viewing.

A copy of the file will be available in the ‘Temp’ folder under Local Checkout Path.

 

Once the user closes the opened file in the local machine, the copy of the file under ‘Temp’ folder should be deleted.

 

 

Any idea on how to achieve this through IFS Aurena?

Or should I write a windows script and pass it to the scheduler?


1 reply

Badge +3

Hi @skanlk 

According to the answer given here: Documents viewed remain in the temporary file | IFS Community

“The idea is keeping files you check out for "viewing purposes" (view, print, etc.) separate from files you check out for editing. This allows you to either delete the "temp" folder manually or, using some script that runs at regular intervals, delete the folder automatically.

It's unfortunately not possible for us to know when the user has viewed the file, and deleting it automatically, for all possible file formats that we support (we would need to lock the files, which is not possible with all applications, and it would also lock up the IFS client in doing so.) The above solution was the best we could do given the constraints we have.”

 

Regards, 

Suchithra

Reply