Skip to main content
Question

BOX API - move file issue

  • May 21, 2025
  • 3 replies
  • 50 views

Forum|alt.badge.img

Hi all,

we are developing a java tool that ingest files from box folder.

We would like to have a clarification about the scenario described below..

When a file is moved from a source directory to a target directory, we are observing that the last modification date attribute (returned by box API) does  not change even if  a file metadata (last modification date) has been modified.

Are we missing some configuration/settings or this is a behaviout of box API (a file moving in not caught at API level) ?

3 replies

Forum|alt.badge.img

 If I am understanding correctly, what you are describing is the expected behavior. Moving a file to another folder shouldn't change the file's modification date. A file's modification date updates when the contents of a file changes.


Forum|alt.badge.img

Murtza

the issue is that we have a search engine that indexes Box contentes.

if a file is added moved delede we need to know it and update the index . 

we can only detect file addition . So if today one file gets moved or deleted on the Ge Box my index will not reflect this .

 

thanks,

Fabio 


Forum|alt.badge.img

Any update on this issue? How can we resolve this issue now?? We have same requirement in our project