SFTP w/ proper atomic put and locking

Robert Collins robertc at robertcollins.net
Sun Nov 13 18:29:03 GMT 2005


On Fri, 2005-11-11 at 18:57 -0800, Robey Pointer wrote:

> Well, you've definitely convinced me that paramiko's SFTPClient.file 
> () should have some kind of file-flag translation for O_EXCL. :)  I  
> picked 'x' (someone please shout out if this is a bad choice) and it  
> should be in 1.5.2 or whatever the next version turns out to be.  I  
> promise not to break your version any time soon. :)

'x' ?  Why not just 'O_EXCL' as already defined in python ?

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051114/6a46b549/attachment.pgp 


More information about the bazaar mailing list