Skip to main content

I have a simple question, I am running a python script that searches for files regularly in box folders. Is there a way to refresh this box folder within my script? Thanks a lot.

Hi @yaya28



Welcome to the forum!



Not sure what you mean by refresh this folder.



Search does take a while to index new files and make them available in the search results.



Is this what you are experiencing? A new file that doesn’t show up in search?



If that is the case, then there is nothing you can do but wait.



Let us know



Cheers


I think yes, I was just think, so for example if I have a box folder I can go refreshing it from these options shown in the screenshot. can I do it in a python script instead, this is my question, thanks a lot I am looking forward to hearing from you soon


Screenshot 2023-09-04 at 18.44.09


Hi @yaya28 , I think you’re talking about box drive.



I don’t think we have a way to interact with box drive, that is a separate native application running on your operating system.



Tell us a bit more about your use case.



Do you need to trigger a manual synchronization between box and the local folder?


Reply