Linux.com

Re:Tips

Posted by: Anonymous Coward on September 18, 2005 06:56 PM
The FTP protocol may not provide any commands to manipulate symlinks but they can exist on the underlying filesystem and some FTP clients can obviously see them.

For example, I created a symlink on my private FTP account. The server is proftpd.

Here is a sample of session with ncftp:

# ncftp <a href="ftp://localhost:1234" title="localhost">ftp://localhost:1234</a localhost>
ncftp / < ls
here@ incoming/ README.txt
ncftp / < ls -la
drwxr-xr-x 3 ftp ftp 4096 Sep 18 10:49 .
drwxr-xr-x 3 ftp ftp 4096 Sep 18 10:49<nobr> <wbr></nobr>..
-rw-r--r-- 1 ftp ftp 607 Sep 12 21:26 README.txt
lrwxrwxrwx 1 ftp ftp 1 Sep 18 10:49 here -< .
drwxr-xr-x 2 ftp ftp 4096 Sep 13 18:51 incoming


       

#

Return to CLI Magic: the word on wget