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 <blackwelllan...@icloud.com.invalid> 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 <garydgreg...@gmail.com>
> Sent: Friday, November 19, 2021 8:55 AM
> To: Commons Users List <user@commons.apache.org>
> 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 <blackwelllan...@icloud.com.invalid> 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: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>

Reply via email to