0
I've got an application that is watching file move atomically to a specific directory.
When doing a sftp from a RedHat linux server, uploading a file to a tmp dir, them moving it with the "rename" sftp to the final dir, my application well sees the new file.
On the same server, but when uploading via sftp from a Solaris server with the same process (upload to tmp dir then "rename" the name to final dir), my application does not see the file. It seems that Solaris sftp client "rename" command does not do an atomic move.
Is it well the case? Is there a way I can do an atomic move from Solaris via sftp?
Best regards, Raoul
Thanks Andrew,
My Tmp dir is on the same filesytem of my final dit.
What I don’t understand is in both case, sftp fron RHEL 7 and Solaris, we are doing the same sftp command on same dir, but result is different – Raoul Debaze – 2019-05-01T23:47:30.663