# Keep file ID on move?

**URL:** <https://help.nextcloud.com/t/keep-file-id-on-move/29325>\
**Category:** ℹ️ Support\
**Created:** [March 21, 2018, 6:42pm UTC](https://help.nextcloud.com/t/keep-file-id-on-move/29325 "2018-03-21T18:42:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yan](https://help.nextcloud.com/letter_avatar/yan/32/6_22734026db12803ebb3e059622ac3534.png) [@yan](https://help.nextcloud.com/u/yan)\
**Post date:** [March 21, 2018, 6:42pm UTC](https://help.nextcloud.com/t/keep-file-id-on-move/29325/1 "2018-03-21T18:42:36Z")

</div>

Nextcloud version : 13  
Operating system and version : Official docker image  
Apache or nginx version : apache 2  
PHP version: 7.1

Hello !

I realized that file IDs change when moving files from one folder to an other. I dug into the GH repository and thought this would have been fixed by this PR : [https://github.com/nextcloud/server/pull/4524/commits](https://github.com/nextcloud/server/pull/4524/commits), but it does not seem to be the case. Do I miss something ? Was it rolled back ?

Additionnally, is there any mean (maybe through a plugin ?) to keep consistent IDs also when sharing files between different users ?

Thanks !

Is this the first time you’ve seen this error?: N

Steps to replicate it:

1. from the web interface, create a file, click on it to see its ID on the address bar
2. move it to a folder
3. open the folder, then click the file again to see its ID. It’s different than the one observed in step 1.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 3, 2024, 9:37pm UTC](https://help.nextcloud.com/t/keep-file-id-on-move/29325/2 "2024-12-03T21:37:42Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 2:27pm UTC](https://help.nextcloud.com/t/keep-file-id-on-move/29325/3 "2024-12-09T14:27:42Z")

</div>


