Question

FileDeleter fails to delete the files. Any ideas why?

  • 29 March 2022
  • 1 reply
  • 23 views

Badge

Hello,

 

I encountered an issue using FileDeleter as it fails to delete the files.

 

I have some scripts deployed on FME Server that download some xls files daily, perform some reports and next day, new files are downloaded,and the old ones must be moved to an archive and delete the target file or folder.

 

I get the next error when the transformer FileDeleter is trying to dedlete the files from previous day in order to download new ones.

 

This error is not present in a Windows env (now I am trying to replicate that FME Server installation along with it's scripts on unix env...maybe this can be an issue?)

 

Error:

 

"

 

2022-3-29 13:58:28 | File Copy Writer: Error attempting to move from '/opt/fmeserver/resources/data/Reports/temp/route_gps_pos_arc_20220329.xlsx' to '/route_gps_pos_arc_20220329.xlsx'. Please check for sufficient permissions on the source and destination. Alternatively, if Overwrite Existing File is set to 'No' please ensure output file does not already exist

 

"

 

did someone encountered this issue before?

 

Thank you,

 

 

 

Nicu


1 reply

Userlevel 5
Badge +26

The FileDeleter is a custom transformer by @Sigbjørn Herstad​ , I'm sure he can help out.

Reply