Feature request for SSH FTP

dawg dirTdogE at Gmail.com
Sun Aug 9 13:46:40 EST 2009

I suppose that is true -- I don't know the specifics since I do not use 
SFTP via command line but rather via an SFTP client, FileZilla, in my 
particular case. I had actually earlier tonight suggested the 
functionality you noted below as a workaround (on the client end) to 
what I believed would be optimally solved automatically on the server 
side. Do you disagree that the best possible implementation should solve 
the problem automatically on the server side? In my mind, this seems 
half way between a feature request and a bug report.


On 08/08/2009 11:17 PM, Daniel Kahn Gillmor wrote:
> 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.
> 	--dkg

More information about the openssh-unix-dev mailing list