Citrix Files - why does it look like I downloaded every single file even when set not to sync?
Installed Citrix Files for Windows 20.7.6.0.  I set it to sync only my files as we have a large client shared area that I have access to.  When running a Folder Activity report for a client I was surprised that the report showed that I had downloaded every file for that client!  After more investigation the reports say that I was downloading every single file from everywhere!  (100's gigs).  In checking my sharefile mapped drive it was only ~10G of space.  In looking at the log files in C:\\\\Users\\\\<user>\\\\AppData\\\\Local\\\\Citrix\\\\Citrix Files\\\\Logs it looks like it crawled the folders and built a local db and then starts a big DIFF loop to find things that change, which make sense.  (I had to copy the logs out as the config file only stores so many logs before it deletes them.)  But then it starts a pattern of what looks like downloading every single file.  In looking at resource monitor there is a ton of network IO, so its up to something.  Here is the pattern that concerns me: WinFspRead| [Download] Download started (fileName: <file>, fileId: <fileId guid>, part: <guid>-0.part (0:68597))WinFspRead| [Download] Download complete (fileName: <file>, fileId: <fileId guid>, part: <guid>-0.part (0:68597))WinFspRead| [ReadCallback] Read complete for hint <guid> in separate thread for <full path to file>WinFspRead| [FileContentService] ReadAsync from ReadCache: <full path to file>, contentId: <guid>, position: 0, bytesToRead: 16384, FileSizeBytes: 68597WinFspRead| [FileContentService] ReadAsync from ReadCache: <full path to file>, contentId: <guid>, position: 65536, bytesToRead: 16384, FileSizeBytes: 68597WinFspRead| [FileContentService] ReadAsync from ReadCache: <full path to file>, contentId: <guid>, position: 32768, bytesToRead: 16384, FileSizeBytes: 68597WinFspRead| [FileContentService] ReadAsync from ReadCache: <full path to file>, contentId: <guid>, position: 16384, bytesToRead: 16384, FileSizeBytes: 68597WinFspRead| [FileContentService] ReadAsync from ReadCache: <full path to file>, contentId: <guid>, position: 49152, bytesToRead: 16384, FileSizeBytes: 68597<repeat many, many times for large files are its only reading 16k at a time.) And this happens for every single file until I stopped the program after letting it go the weekend to see what else would happen. Is this expected behavior that Citrix Files for Windows tries to download every file and then not write them to my local drive even though I set the options to only sync my personal files?  And that the expected side affect is that Folder Access reports show that I downloaded every file even though it was not set to? Thanks,Keith 

  • Thanks @rakeshkum,     I would say no to 1 & 2.  I had no applications open and these shares do not store images. I had an exclusion in for the antivirus but I will check its logs and see if it was scanning anyway.  I'll also turn Citrix Files back on and check out ProcMon and let you know.
  • @krachunok Citrix Files for Windows acts as a virtual file system for the drive that it mounts and serves any read request coming from any application by downloading the content. It doesn't download files on its own (except when a folder is set to be available offline) but the download is a result of an application issuing read call to Citrix Files file system.  The file gets downloaded in cases such as: The file was opened using an application. Windows explorer downloaded files content to render its thumbnail. This typically happens for image, video files. Some of which can be disabled by enabling the explorer optimizations mentioned here: https://support.citrix.com/article/CTX241253 An antivirus scanning the files in Citrix Files drive causing Citrix Files app to serve the content by downloading. Can you see if any of these apply to your scenario?  Additionally, you can use Microsoft ProcMon to track which application is trying to read the files from Citrix Files causing the app to start downloading the content
This question is closed.