It sounds like it is up to OneDrive to do what it pleases when you ask it
for a file reference... The more recent version of IO uses NIO for some of
this, that might help, or not. Make sure you are using the latest IO to
make it simpler to analyze any findings.

Gary


On Fri, Nov 19, 2021, 10:03 <[email protected]> wrote:

> The value of start would be a java.io.File object pointing to any
> directory within c:\Users\{user}\OneDrive\.
>
>
> Landis
>
> -----Original Message-----
> From: Gary Gregory <[email protected]>
> Sent: Friday, November 19, 2021 8:55 AM
> To: Commons Users List <[email protected]>
> Subject: Re: [io] FileUtils.listFiles activates forces OneDrive files to
> download?
>
> Your example is too vague, what is the value of "start"?
>
> Gary
>
>
> On Fri, Nov 19, 2021, 09:52 <[email protected]> wrote:
>
> > Hi,
> >
> >
> >
> > I have a large drive of cloud files in OneDrive that aren't stored
> locally.
> >
> > The following code forces any files traversed to download locally
> > which is not preferable to say the least.
> >
> >
> >
> > https://pastebin.com/hmA0jTLy
> >
> >
> >
> > Is there a particular reason this happens with FileUtils.listFiles and
> > not with java.io.File.listFiles?
> >
> >
> >
> > Thanks
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to