paramiko SftpServer doesn't pass O_BINARY

Robey Pointer robey at lag.net
Fri Dec 2 03:51:07 GMT 2005


On 1 Dec 2005, at 19:44, Robey Pointer wrote:

> I suppose paramiko could always add that flag when running on  
> Windows, but maybe it's better if I just document more clearly that  
> files are always in binary mode.

Hey wait I already did! :)

(from SFTPServerInterface.open:)
     @note: The SFTP protocol defines all files to be in "binary" mode.
         There is no equivalent to python's "text" mode.

robey





More information about the bazaar mailing list