Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how do you create symlinks

0 views
Skip to first unread message

chuckvee

unread,
May 28, 2002, 4:19:05 AM5/28/02
to
How can I create a symlink? Can I do it in my ftp program before it
hits my server.
Can someone give me some explicit details on symlinks!!
Thanks
Chuckvee

mjcr

unread,
May 28, 2002, 10:45:03 AM5/28/02
to
In article <uf6fbrp...@corp.supernews.com>
on Tue, 28 May 2002 at 08:19 GMT,
chuckvee <Chu...@lvcm.com> wrote:

Assuming here that you are talking about unix boxes:

For a host that you have login access to you can use the -s option of the ln
command. The format is, ln -s <existing filename> <new symlink>

For a host that you have only ftp access to, it depends on wether the
filesystem of the partition on the server you are accessing can handle
symlinks. Most non-unix filesystems can not support symlinks. If the
remote filesystem and operating system do support symlinks, there is a ftp
command that you can issue to create symlinks, if both your ftp client and
the remote server support it (not all of them do). How you can do it,
depends on which ftp client you are using.

For ncftp the command is: symlink <existing-item> <link-item>

You could create the symlink on your local host and then upload both files
with the ftp mput command. Some ftp clients will upload the file with the
hardlink name (the "normal" file name) then detect the other is a symlink to
that name and rather than uploading the file again, will iself issue the
symlink command to the server, then only if the server does not honor that
comand upload the file a second time under the second name. But then again,
this depends on which ftp client software you are using.

--
I run Linux, no bloody RedHat, Debian, Slackware, or Corel, just Linux.
The name of the operating system is Linux, not GNU/Linux.
May all that you wish upon me and mine be visited upon you ten fold.

0 new messages