Page 1 of 1

The file cannot be accessed by the system (NOT SHARED FOLDER)

Posted: 14 Mar 2024, 23:31
by chebarbudo
Hi

I have a task that saves a user home directory (C:\Users\XXX).
It includes folders like "C:\Users\XXX\Documents", "C:\Users\XXX\Desktop", etc that just work fine.
It also includes the folder "C:\Users\XXX\Dropbox" which always fails with errors like :

Code: Select all

Error uploading the file "xxx": Cannot open file "xxx". The file cannot be accessed by the system.
The system CAN read the files. I've even forced the following command :

Code: Select all

icacls "C:\Users\XXX\Dropbox" /grant SYSTEM:F /T /Q
The administrator CAN read the files but it still fails if I run the task as admin.
The user itself CAN obviously read the files but it still fails if I run the task as him.

> No file outside Dropbox fails permanently
> 82,397 files in Dropbox fail to be accessed
> 8 files were successfully accessed.

What's wrong with Dropbox permissions?

Thanks for your help.
Santiago

Re: The file cannot be accessed by the system (NOT SHARED FOLDER)

Posted: 14 Mar 2024, 23:39
by cobian
Surely not a permissions issue but perhaps the file is offline (at the cloud only).

Re: The file cannot be accessed by the system (NOT SHARED FOLDER)

Posted: 15 Mar 2024, 15:33
by chebarbudo
Hi
Thanks Luis for your answer. Although I think Dropbox stores the files locally so how could they be offline? Do you think of a workaround for such an issue?
Regards
Santiago

Re: The file cannot be accessed by the system (NOT SHARED FOLDER)

Posted: 15 Mar 2024, 18:07
by cobian
I don't really know how Dropbox works but if it works like OneDrive or Google Folder, then the files are only online and what you see in the file system is a placeholder (which you can make offline if you want).