Maintaining file permissions with sftp

Roberto <[email protected]> Fri, 11 Mar 2011 09:10:34 -0300
Newsgroups gmane.network.openssh.general
Message-ID <[email protected]>
Hi,

when making a sftp file transfer, overwriting an existing file, is there 
any way to preserve the permissions of the file? So, if the file had 
permissions like 664, to preserve them instead of overwriting them with 
any other permission.

Thank you,

Roberto

PS: System setup: server is running OpenSSH 5.1p1, from Debian packages, 
clients are running windows versions of sftp

-- 
   -----------------------------------------------------
                 Marcos Roberto Greiner

    Os otimistas acham que estamos no melhor dos mundos
     Os pessimistas tem medo de que isto seja verdade
                                   James Branch Cabell
   -----------------------------------------------------