5 ms·
SFTP is not a filesystem, though; to get a rename to be atomic, you must pass SSH_FXF_RENAME_ATOMIC, and the server can return SSH_FX_OP_UNSUPPORTED.
by icebraining 8y ago
SFTP is not a filesystem, though; to get a rename to be atomic, you must pass SSH_FXF_RENAME_ATOMIC, and the server can return SSH_FX_OP_UNSUPPORTED.
- hemancuso 8y agoNearly any SFTP client would assume a rename would be a near-instant operation on the server, and would probably fall-over if it took an hour.