Hello again, Assume this layout:
/incoming (normal dir) /incoming/dirA (link to /somewhere/dirA, maybe hard link?) /incoming/dirA/subdirA (normal dir) The problem here is 'dirA' does _not_ show up as a symlink when doing "ls". In fact it shows up with the usual 'd' attribute which tells lftp it is a normal dir. If I "cd /incoming/dirA/subdirA" and issue "ls" command, I get the listing of "/incoming/dirA" instead of "/incoming/dirA/subdirA". I can also "cd /incoming/dirA/subdirA/subdirA" and "ls" again. Same result. In fact I can infinitely add dirs to it: "cd /incoming/dirA/subdirA/subdirA/subdirA/subdirA", issue "ls" and I get the listing for "/incoming/dirA". You get the idea. :) However, if I "cd /incoming/dirA" then issue "pwd", I will get the value "/somewhere/dirA" instead of "/incoming/dirA". So 'dirA' is really a link, but it does not have the 'l' attribute when viewing through the ftp client. Is this because 'dirA' is a hard link? Or is the ftpd just trying to be fancy and elegant here? Anyhow, I have seen other ftp clients not get confused by this setup since each time they "CWD" they also issue the "PWD" command to grab the dir name they are currently residing in. Would you add an option to issue "PWD" and store that information in lftp's memory of the current path after every "CWD" command in order to by-pass this problem? Or maybe one exists and I missed it? Thank you! -Vahid ===== < NPACI Education Center on Computational Science and Engineering > < http://www.edcenter.sdsu.edu/> "A friend is someone who knows the song in your heart and can sing it back to you when you have forgotten the words." -Unknown Author ===== __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
