Remote host symlink, possible?

Hi,

Is it possible to have symbolic links to a remote server? Via ftp, ftps, http, https, ssh or whatever else is required?

Only via file sharing protocols like nfs or cifs.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As ken yap mentions, symlinks need a local-looking filesystem to work.
URIs are what you’re after… something like ‘ftp://server/path/file.ext’.
Depending on your needs you could do this with a launcher (shortcut) on
your desktop. To do this in a way that can be programmatically accessed
you could use wget/curl/ftp (depending on the desired protocol and your
preferences).

Good luck.

On 01/07/2011 06:06 AM, ken yap wrote:
>
> Only via file sharing protocols like nfs or cifs.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNJy2VAAoJEF+XTK08PnB5V8QQAJysioOaCFl4CGvvDSTn0FgW
V0PBh8/Sq+20wC/s3VDNmo3A4h4qGm9ZfH4ZPqyUOkD3Lg2gLKAjrJOew5WPjDkv
pxLlk89BBIiRumzCxwEMU8iliV5eG0iDwy2pYzYkDRjaH8OJlBl3OU6N5RLAwlA4
9asMGcS/G6pLHGP+TbY2r5FrnZQYAaKRHiv10/DP/lLYx2zQRzHwIqk978PLqKD0
A1cPXFOc2RrBGRSB3G7HoZpPWZedIL2zsqa/JF0QfZG4sSwx9zYIiS9nldlntEFD
WiZLUT7xB6zQMJkMWnyGyL/6cq0a+JKlqPBb8vW6Odo9pFMQ5ciDVx4ZIblZoe3y
bql3zYG9zcyiNwXAIdrHbPQFzGSMnsoJHw8VGoSckf5oIHe2VjNShN1vmieeILHb
0oKO37AavD+vqs3Se0I39JThhJ4+a3u2NXp5fw65WCx0i1p/v3CwAE59LidVf5WC
X7ngagrlSX/jZ336rmTJ9DNLemSwBOy2LaP900oskVXVmEbfRSr8Us3I+vIbl34h
b1kOGy1dhq3ZTEUqsotY1+WYuuhwglUIgkMhNq3v4Z9lTZX9n3VnIhrejx+CDWs9
cEvJ4ng6HGUqqkwVRRupXa3TNhzpd04o/KZsveALKjzIDbjxwrHgkb4s19m0G0sW
8ynah5CcvYKwwcE284Vk
=rWtb
-----END PGP SIGNATURE-----

On Fri, 07 Jan 2011 15:13:25 +0000, ab@novell.com wrote:

> As ken yap mentions, symlinks need a local-looking filesystem to work.
> URIs are what you’re after… something like
> ‘ftp://server/path/file.ext’.
> Depending on your needs you could do this with a launcher (shortcut) on
> your desktop. To do this in a way that can be programmatically accessed
> you could use wget/curl/ftp (depending on the desired protocol and your
> preferences).

I don’t know if it’d work, but the OP might look at using FUSE (with
something like curlftpfs or sshfs). With the caveat that FUSE
filesystems are not really meant for multiuser access, but that might be
a way to symlink to a directory on (say) an FTP server somewhere:
connect to it with curlftpfs and then create a symlink to the path on the
ftp server based on the mount point for the remote FTP server.

Not sure if that’ll work, but it might be worth a shot.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Try sshfs.

  • install with:
    **zypper in sshfs
    ** - mount with:
    sshfs user@host: /mountpoint
  • unmount with:
    fusermount -u /mountpoint
  • symlink /mountpoint to whatever.

On Fri, 07 Jan 2011 18:36:02 +0000, please try again wrote:

> Try sshfs.

But still with the caveat that it’s not designed for multiuser access -
that’s a limitation of FUSE; it doesn’t do any file locking on the remote
system, so if you have multiple users accessing it as a shared space, you
can cause file corruption using it.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C