SFTP "cache" directory collision is causing files to be overwritten incorrectly

SFTP "cache" directory collision is causing files to be overwritten incorrectly

avatar

If I open / edit and close multiple files on a server that have the same name (eg docker-compose.yml) then whenever one of those files is "saved" in a local editor (VS Code and Mac TextEdit), RDM then automatically uploads the single file being "saved" to the destinations of any files that were opened & closed in the session with the same file name effectively overwriting them with the incorrect content.

I am on version 26.1.10.3, this behavior is new. Previously i could open and edit multiple files at the same time.

I believe the cause is because the local cache directory where the files are temporarily stored does not take into account of the path of the file on the remote server. IE it just stores docker-compose.yml at the base cache directory.

Hope that makes sense?

6a314bbd-4625-43c1-b743-7a87d4cea28d.png

All Comments (2)

avatar

Hi,

Thanks for the detailed report, that definitely makes sense.
I’ve opened a ticket to fix this behavior. We’ll follow up here as soon as it’s resolved.

Best regards,

Jesse Galarneau

avatar

Thanks Jesse. I appreciate it, this is a great product!