Index OneDrive "Files On-Demand" directories

Discussion related to "Everything" 1.5 Alpha.
Post Reply
David.P
Posts: 183
Joined: Fri May 29, 2020 3:22 pm

Index OneDrive "Files On-Demand" directories

Post by David.P »

Hello Community,

I just noticed that Everything does not seem to recognize or take into account file structures when they are on OneDrive in Files On-Demand mode:

Image

In Files On-Demand mode, Windows creates placeholders for the files and folders(?). These placeholders have the correct path, size, date, etc., but the contents of the placeholder files is not downloaded until the files are opened locally.

Is there a way for Everything to index such placeholder file structures as well?
horst.epp
Posts: 1384
Joined: Fri Apr 04, 2014 3:24 pm

Re: Index OneDrive "Files On-Demand" directories

Post by horst.epp »

Files On-Demand works fine here
and the files are indexed by Everything without any special setting.
Just checked this with several files which in Explorer have the symbol "only available Online"
______________________________________________________
Windows 11 Home x64 Version 21H2 (OS Build 22000.856)
Everything 1.5.0.1315a (x64)
David.P
Posts: 183
Joined: Fri May 29, 2020 3:22 pm

Re: Index OneDrive "Files On-Demand" directories

Post by David.P »

Hmm, doesn't work here.

However, I run Everything in "portable" mode, i.e. without any administrator rights. The scan is therefore not based on the MFT.

Could it be due to this that OneDrive offline file structures are not detected/scanned in my case?
horst.epp
Posts: 1384
Joined: Fri Apr 04, 2014 3:24 pm

Re: Index OneDrive "Files On-Demand" directories

Post by horst.epp »

So you have folder indexing configured ?
David.P
Posts: 183
Joined: Fri May 29, 2020 3:22 pm

Re: Index OneDrive "Files On-Demand" directories

Post by David.P »

Yes, exactly:

Image

This is working fine. Only if one of the folders configured for indexing (here C:\) contains OneDrive "Files On-Demand", then the "On-Demand" folders and their contents are not indexed, or found in searches, respectively.
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: Index OneDrive "Files On-Demand" directories

Post by void »

Does this issue still occur with the latest Everything 1.5?

Recent versions have added improved support for gathering cloud folders.
poa0
Posts: 4
Joined: Fri Jul 28, 2023 3:27 pm

Re: Index OneDrive "Files On-Demand" directories

Post by poa0 »

Just wanted to throw this out there that I encounter the same issue in ...
.1373a (x64)
.

No offense to whoever maintains it but in-line code looks kinda ugly on this forum. Maybe it's just my selected theme?
Last edited by void on Wed May 15, 2024 12:34 am, edited 1 time in total.
Reason: adjusted inline code
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: Index OneDrive "Files On-Demand" directories

Post by void »

Thank you for testing 1373a poa0,

I haven't been able to produce the issue my end (Windows 10 22H2)

Can you browse these files/folders from a command prompt?

I am able to folder-index the on-demand files/folders and browse these files from a command prompt.



Could you please check your Everything debug output for FindFirstFolder errors:
  • In Everything 1.5, from the Tools menu, under the Debug submenu, click Start Debug Logging....
  • From the Index menu, under the Rescan submenu, click your folder containing the onedrive folder.
    ---Wait for Everything to finish rescanning your folder. -Progress is shown in the status bar on the right.
  • From the Tools menu, under the Debug submenu, click Stop Debug Logging....
    ---This will open your Everything Debug Log.txt in Notepad.
  • Please check this log for the following lines:
    FindFirstFileEx <error-code> <path>
  • Are any errors found? and what are the error-codes?
Post Reply