IETF-SSH archive

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

Re: sftp rename not good.



On Tue, May 13, 2003 at 03:22:37PM -0700, Alfred Perlstein wrote:
> * Dan O'Reilly <dano%process.com@localhost> [030513 15:18] wrote:
> > At 03:57 PM 5/13/2003, Alfred Perlstein wrote:
> > >
> > >I think there should be some way of invoking an actual rename(2)
> > >on the server.
> > 
> > That would be best, IMHO.  That way, you can implement server-specific
> > behavior.  For example, those of us on VMS have versioned file systems,
> > so the behavior of a rename on VMS could be drastically different than
> > that on a UNIX system.
> 
> Now that scares me. :)  My intention was to gather support for UNIX
> semantics for this, not "whatever rename(2) does on the server".

If the semantics of file renaming vary so much from platform to
platform, without even the ability to reliably emulate one behaviour on
all those platforms, then either that variance will have to carry
through to SFTP or the SFTP server will have to have a way to tell the
SFTP client what file rename semantics it supports so the client can
choose which to use.

Cheers,

Nico
-- 



Home | Main Index | Thread Index | Old Index