I’m facing the error “Internal error” when I try to move an xml to a folder where this file already exists, if the file doesn’t exist it writes perfectly. It should overwrite the file that already exists if they are the same.
@leomangueira , when I tested your scenario on my own FTP, everything worked as expected - the file got moved overriding the destination file. This leads me to believe the issue is more related to how your FTP server behaves rather than anything else.
If it is not something you can tune with the server itself, perhaps you can consider verifying the file with the name exists first (using List operation), then delete it if so (using Delete operation) and move the desired file after that.
One more thought. Perhaps the internal error takes place when the file name (Old Path) is not composed correctly and therefore does not exist on the FTP. Try replacing the reference item with first(), for example, if appropriate. It depends on where the node “Move Binary Data” is located in relation to the FTP node and whether Item Linking is accurately determined.
Thanks for the answer, I thought the problem was when the file existed, but now it got worse. Even though the file does not exist in the source folder, it gives the same error. I changed the credentials in the FTP node to use the root user, but I still can’t move the files. I think this is a problem in Ubuntu. I’ll create a new VM and do the tests. Thanks.
I don’t know what to do anymore, I created a new VM with Ubuntu, did a clean installation, tested the flow, moved some XMLs and soon the error returned