Can't overwrite attachment with same file name

Hi, I’m trying to save a file from email. the file exsists in the folder, and i want to overwrite it. i checked the “OverwriteExisting” checkbox’. why i’m still getting the error:
Save Attachments: Cannot create “File name” because a file or directory with the same name already exists.

Hi @annare,

Welcome back! Can you show us the properties of the Activity that is throwing the error?

Also, do you have proper permissions to modify that particular content? Where is the file located?

Juan P.

hi,
this is the activity

What value does the variable in_Servers_List_File has? It should be a path to a folder (not a file) where you want to save the attachments.

Yes, exactly! Make sure that the variable in_Server_List_File has a valid path, something like C:\Users\User\Documents\Attachments\, and that you have permission to modify the files in that folder.
You can try changing the folder path to a temporary location that you have full permissions, like your Documents or Desktop.

Juan P.

Thanks, now it’s working

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.