This question is a combination of functionality between Sharepoint Online and OneDrive for Business app, so my apologies if it is in the wrong category.
In my company, we have a Sharepoint Online document library that is synced to multiple Windows 10 laptops using the OneDrive for Business client. One user has the ability to make changes, while the other users are "can view" only, as they should not be making changes to the library. Inside one folder of this library is a small program that users can run. This program generates temporary files (inside the same folder from which it is running), and if it cannot create/edit those files, it will not run. With the library being "can view", the OneDrive client prevents the files from being created. Thus, for that folder only, all users are given "can edit" permissions within Sharepoint Online. This allows the program to run, however, the temporary files are being synchronized among everyone's computer. We do not want those temporary files to be uploaded to the Sharepoint Online library, and yet with the "can edit" permission, they are being uploaded.
Is it possible to set up a folder in Sharepoint Online/OneDrive so that it is download-only (no upload) but with the ability to edit the contents of the folder on the local computer for certain users?
Thank you!