Feature request for SSH FTP

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Aug 9 13:17:41 EST 2009

On 08/08/2009 10:31 PM, dawg wrote:
> I suggest that files transferred via SSH should be saved to a temp
> folder until the transfer is complete, then only would the original file
> be overwritten.

I believe this is already possible with sftp:

 put important-file important-file.XXXX
 rename important-file.XXXX important-file

Would this workflow solve your problem?

The only primitive i see missing for a complete/robust implementation
would be a mktemp equivalent as an sftp primitive (to avoid collisions
in the choice of temporary filenames), but that seems like a very
different feature request.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 890 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20090808/ebc1c4cb/attachment.bin>

More information about the openssh-unix-dev mailing list