gnome-vfs-sftp

Colin Watson cjwatson at ubuntu.com
Sat Dec 3 13:41:03 UTC 2005


On Sat, Dec 03, 2005 at 05:56:06AM +0000, Dick Davies wrote:
> On 03/12/05, Karl Hegbloom <hegbloom at pdx.edu> wrote:
> > Mark Doeglas wrote:
> > > It seems that gnome-vfs-sftp is missing in Breezy  Who knows where I can get it?
> >
> >  Go to the Places --> Connect to Server... menu, and in the Service type
> >  drop-down, select SSH.  It works fairly well, though the SFTP protocol
> > does not define the symlink operation, so you cannot make symlinks in
> > remote directories with it.  For most uses, that's not a problem.
> 
> You can use the comand line sftp client to do that, so I'm not sure about
> it being impossible.

Indeed, and it's defined in the current SFTP protocol Internet-Draft
(http://www.ietf.org/internet-drafts/draft-ietf-secsh-filexfer-10.txt):

   The SSH_FXP_LINK request creates a link (either hard or symbolic) on
   the server.

       byte   SSH_FXP_LINK
       uint32 request-id
       string new-link-path [UTF-8]
       string existing-path [UTF-8]
       bool   sym-link

   new-link-path
      Specifies the path name of the new link to create.

   existing-path
      Specifies the path of an existing file system object to which the
      new-link-path will refer.

   sym-link
      Specifies that the link should be a symbolic link, or a special
      file that redirects file system parsing to the resulting path.  It
      is generally possible to create symbolic links across device
      boundaries; however, it is not required that a server support
      this.

      If 'sym-link' is false, the link should be a hard link, or a
      second directory entry referring to the same file or directory
      object.  It is generally not possible to create hard links across
      devices.


   The server shall respond with a SSH_FXP_STATUS.  Clients should be
   aware that some servers may return SSH_FX_OP_UNSUPPORTED for either
   the hard-link, sym-link, or both operations.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list