Opened 14 years ago

Last modified 6 years ago

#1088 closed Bug report

Desktop Folder Pointing to Wrong Location

Reported by: nberardi Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc: nberardi, Tim Kosse
Component version: Operating system type:
Operating system version:


Local directory tree now displays "Desktop" and "My
Documents". With version 2.2.24. However the Desktop
you are showing me isn't the one listed in the
registry. For instance the desktop you are pointing to is

c:\documents and settings\username\desktop

however I moved my desktop off the C: drive to


And that is the way it is set in the registry. The odd
part of this whole things is that My Documents folder
is pointing to the right location.

Change History (8)

comment:1 Changed 14 years ago by Tim Kosse

FileZilla asks Windows for the location of the desktop
directory. So if FileZilla displays the wrong directory it
likely means that either you haven't set the new desktop
location properly or that you've stumbled about a bug in
Might I ask what steps you performed to move the desktop

comment:2 Changed 14 years ago by nberardi

Yes I used Microsoft Windows XP Power Toys Tweak UI program.

When in the Program I go to My Computer > Special Folders,
then select Desktop in the drop down and then click change
location. This program then goes to modify the registery
for my user profile and then the next time I log back in to
windows my new desktop from the folder I just set appears.

All Microsoft as well as none Microsoft programs pick up on
this? May I ask what method you are using to find what my
desktop is?

comment:3 Changed 14 years ago by Tim Kosse

FileZilla uses the SHGetSpecialFolderPath function from the
Windows API to get the location of the Desktop.

comment:4 Changed 14 years ago by nberardi

If you can confirm this as a bug, which I really do think it
is. I looked at how .NET aquires it's folder paths and it
used the method called. SHGetFolderPath and you just set
nFolder to zero to get the desktop location. I really can't
tell what the difference is from the documentation, but it
looks like this method does work.

comment:5 Changed 14 years ago by nberardi

BTW I am using Windows 2003 R2 Server Standard

comment:6 Changed 14 years ago by Tim Kosse

comment:7 Changed 14 years ago by nberardi

This works just like I would have expected. The fix you
have made seems to have worked.

comment:8 Changed 14 years ago by Tim Kosse

Fixed in official 2.2.24a.

Note: See TracTickets for help on using tickets.