Yummy Software
Welcome, Guest. Please login or register.
April 30, 2009, 11:42:18 AM
3403 Posts in 656 Topics by 727 Members
Latest Member: frdr
Home Help Search Login Register
Yummy Software  |  Yummy FTP  |  Problems & Bugs  |  Simlink not handled correctly in folder navigation menu? « previous next »
Pages: [1] Print
Author Topic: Simlink not handled correctly in folder navigation menu?  (Read 543 times)
spacific
Sr. Member
****
Posts: 211


View Profile
Simlink not handled correctly in folder navigation menu?
« on: March 10, 2009, 02:54:21 AM »

With a file structure like:   /home/mydir/simlinktowebsite
where "simlinktowebsite" is a link to the actual folder:   /var/www/html/
starting in /home/mydir and opening simlinktowebsite shows the navigation menu:
    simlinktowebsite
    mydir
    home
    /

However, choosing "mydir" from that menu actually just goes to the parent of the current folder -- i.e. to "www".   And choosing "home" leaves me in "var".  Confusing to say the least.  I can see why you would go to the parent of the current folder, but then the menu is wrong.
J.
Logged
JD
Administrator
FTP Guru
*****
Posts: 1507


View Profile Email
Re: Simlink not handled correctly in folder navigation menu?
« Reply #1 on: March 10, 2009, 12:51:47 PM »

This is because Yummy FTP uses the real resolved path to the symlink, not the 'fake' path including the symlink.

I'll see if this can be made to behave as you're expecting.
Logged
JD
Administrator
FTP Guru
*****
Posts: 1507


View Profile Email
Re: Simlink not handled correctly in folder navigation menu?
« Reply #2 on: March 15, 2009, 02:19:31 PM »

In the newest build I have here, there is a new option called 'Treat symlinks as normal items' in the Preferences. This changes the way Yummy deals with symlinks, and enabling it will provide the behavior you're after.

I've tied this into a preference setting because historically Yummy has handled symlinks differently to other FTP clients, so those relying on this behavior will continue to be supported.
Logged
spacific
Sr. Member
****
Posts: 211


View Profile
Re: Simlink not handled correctly in folder navigation menu?
« Reply #3 on: March 17, 2009, 04:23:17 AM »

Great.  But now I'm really confused.

My current version (b10) has started doing exactly what I wanted. That is choosing an item from the navigation menu takes me exactly there, so I can't replicate the behaviour I described above.  So choosing "home" takes me to "home".  What happened here: did you update my version by telepathy?

(Command-up-arrow still takes me to the true parent but that is as it should be, so now we have the best of both worlds.  But still confused as to how things changed.)
Logged
JD
Administrator
FTP Guru
*****
Posts: 1507


View Profile Email
Re: Simlink not handled correctly in folder navigation menu?
« Reply #4 on: March 17, 2009, 08:43:13 AM »

It's always been like this - it is not consistent... I didn't use telepathy Smiley

The new build will correct the behavior.
Logged
spacific
Sr. Member
****
Posts: 211


View Profile
Re: Simlink not handled correctly in folder navigation menu?
« Reply #5 on: March 25, 2009, 05:53:01 AM »

Was the "new build" b11?  Because it still behaves inconsistently -- the navigation menu, that is.

One other interesting side-effect: when (being in the sim-link directory or a sub-directory) you select the directory containing the sim-link, it mostly works, but, starting at the same point, if you select the parent of that directory then you are taken elsewhere (i.e. up the tree of the actual directory). Hope that description makes sense!
Logged
JD
Administrator
FTP Guru
*****
Posts: 1507


View Profile Email
Re: Simlink not handled correctly in folder navigation menu?
« Reply #6 on: March 25, 2009, 07:01:52 AM »

Did you enable 'Treat symlinks as normal items' in the Transfers panel of the Preferences?
Logged
spacific
Sr. Member
****
Posts: 211


View Profile
Re: Simlink not handled correctly in folder navigation menu?
« Reply #7 on: March 25, 2009, 07:20:55 AM »

Yes, it seems to make no difference. Sometimes the navigation menu works, other times I end up elsewhere.

Strangely enough Cmd-Up seems to work fine (reflecting the pref setting), and that is probably what I will use as it is faster than selecting from a menu. However, no doubt you will want the menu selection to work correctly.

(Took me a while to find that pref setting: the transfers panel was not what I was expecting.)

Thanks.
Logged
JD
Administrator
FTP Guru
*****
Posts: 1507


View Profile Email
Re: Simlink not handled correctly in folder navigation menu?
« Reply #8 on: March 25, 2009, 10:27:10 AM »

Ok, I'll check this out. Did you try re-connecting? There may be old info cached otherwise...

I'll be moving the preference to the Server Options panel, along with the other symlink setting
Logged
spacific
Sr. Member
****
Posts: 211


View Profile
Re: Simlink not handled correctly in folder navigation menu?
« Reply #9 on: March 25, 2009, 04:28:35 PM »

Yes, I have tried re-connecting, and indeed re-starting Yummy. Just tried again now, same problem with going up higher than the directory containing the link.
Cheers.
Logged
JD
Administrator
FTP Guru
*****
Posts: 1507


View Profile Email
Re: Simlink not handled correctly in folder navigation menu?
« Reply #10 on: March 26, 2009, 02:46:15 AM »

Ok, I think I found it Smiley
Logged
spacific
Sr. Member
****
Posts: 211


View Profile
Re: Simlink not handled correctly in folder navigation menu?
« Reply #11 on: March 26, 2009, 04:03:01 PM »

That's good to hear.
Logged
Pages: [1] Print 
« previous next »
Jump to: