Opened 7 years ago

Last modified 6 years ago

#8139 new Bug report

Citrix Client drives not visible in FileZilla

Reported by: Marcel de Haas Owned by:
Priority: high Component: FileZilla Client
Keywords: citrix, xenapp, filezilla, clientdrives Cc:
Component version: Operating system type: Windows
Operating system version: 2008 R2 / Citrix XenApp 6.5

Description

We are currently experiencing an issue with FileZilla 3.3.2 (Running in an App-V/SoftGrid bubble) in our production environment. The issue is reproducible with 3.5.3 running normally without any virtualization layer. The problem is as follows. We are running FileZilla in our Citrix XenApp farms W2K3R2/XenApp4.5 and W2K8R2/XenApp6.0 without any issues. In W2K8R2/XenApp6.5 however the client drives are not showing up. These are disks which are physically on the client but are presented as accessible drives on the Citrix Server. These are not showing up in FileZilla but are accessible from the Windows Explorer.

Since I'm not a programmer I don't know where to look in the sourcecode to find out what API calls are made that enumerate disks. This may be the wrong API or Citrix is intercepting these and manipulating them to return wrong data. Is you can please give me details of the API calls made we can also contact Citrix (we have a support contract) to investigate this issue.

Please also see this post on the Citrix Forum:
http://forums.citrix.com/thread.jspa?threadID=305964

Best Regards,
Marcel de Haas

Attachments (1)

DriveEnumeration.cpp (595 bytes) - added by David 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by David

Attachment: DriveEnumeration.cpp added

comment:1 Changed 7 years ago by David

Status: newmoreinfo

The Windows API used to get available drives is "GetLogicalDriveStrings".
FileZilla will also adhere to the NODRIVES group policy but since you see the drives in Windows Explorer I doubt this is the problem. (You can check HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer for key "NoDrives" (if present it can be the culprit) to be certain.)

Attached is the source of a small example which call "GetLogicalDriveStrings" in the same manner as FileZilla and prints results. Please try this out and see if the drives show up.

Compilation is tested with Visual Studio 2008 (add "kernel32.lib" as Additional Dependency in Linker->Input) and MinGW (GCC 4.5.2) (Commandline: g++ DriveEnumeration.cpp -g -mwindows -mconsole -static-libgcc -static-libstdc++ -o DriveEnumeration.exe).

comment:2 Changed 7 years ago by Marcel de Haas

Status: moreinfonew

It seems my information was incorrect. The drives are also not showing on a desktop hosted on Citrix XenApp 6.0/Windows 2008 Server R2. The culprit seems to be the changed way of connecting drives on the client on Windows 2008. This is done through functionality available as part of Remote Desktop Services. The drive does not receive a drive letter but is presented using a name which is stored in HKCU. I am trying to find the API that can also retrieve these redirected drives, hoping it may be simple to incorporate into FileZilla ;). To be continued.

comment:3 Changed 7 years ago by Marcel de Haas

Have posted question about API to use in the Citrix Forum:
http://forums.citrix.com/thread.jspa?messageID=1659185

Note: See TracTickets for help on using tickets.