| Summary: | Atomic replace on upload | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Juan Francisco Giordana <juangiordana> |
| Component: | sftp | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | djm |
| Priority: | P2 | ||
| Version: | 5.3p1 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
Juan Francisco Giordana
2010-01-23 08:20:39 AEDT
It would be fairly easy to support atomic replacement of files on upload in the OpenSSH sftp client. However, it wouldn't work for scp or other sftp clients. Basically, the client would get an option (-a perhaps) to get/put that up/downloaded into a temporary file and then renamed it into place. For sftp, we would need to enable this only for servers that supported the POSIX rename extension, |