IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sftp rename not good.



At 05:47 PM 5/13/2003, Ben Lindstrom wrote:


On Wed, 14 May 2003, Damien Miller wrote:

> Dan O'Reilly wrote:
> > Why should the client care at all?  The basic requirement is "support a
> > rename function".  Why should the client *SOFTWARE* (not USER) care how
> > the server system actually performs that?
>
> Because the semantics matter: will the server's rename() overwrite an
> existing file? Is it atomic? Will it cross filesystems?
>
> Put a different way: if the semantics are irrelevant, then why are we
> even having this discussion?
>

I agree.  It does matter.  One person's definition and implement of what
'rename' does and does not do can be very different than someone elses.
And without some constant baseline to work from it will drive the user
insane.

Lot of places deploy ssh/sftp instead of ftp for website updating.  And
frankly, most end-users don't care why NT acts one way and VMS works
another.

Exactly my point.  They don't care.  So let the systems do the work the
way they're designed to do it!

------
+-------------------------------+----------------------------------------+
| Dan O'Reilly                  |  "There are 10 types of people in this |
| Principal Engineer            |   world: those who understand binary   |
| Process Software              |   and those who don't."                |
| http://www.process.com        |                                        |
+-------------------------------+----------------------------------------+





Home | Main Index | Thread Index | Old Index