Forum Discussion

Shilpa M.'s avatar
Shilpa M.
New member | Level 1
10 years ago

Rename File/Folder Without losing Version History in V2

Dear Drop Box Team,

Kindly Suggest the way ,how we can Rename a File/Folder without losing the Version History in Drop Box API V2.

 

 

5 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    File history on Dropbox is tied to the file path, so file version history won't follow files across moves/renames like this. The version history at the original path isn't lost though, so you can continue to query on the original path to get the old history. You can use the file's ID to track it across moves/renames though.

  • Avnish K.'s avatar
    Avnish K.
    New member | Level 1
    10 years ago

    I have  tried same, but I lost version list in my Dropbox account. Now i am not able to seen version history for moved files in Dropbox account. how I can version history in my account.

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    Hi Avnish, I'm not sure I understand your question. This thread was about file history when using the Dropbox API. Are you also working on an integration with the Dropbox API? If so, please share some more information, e.g., steps to reproduce the issue, sample code, etc.

    If you're not a developer using the Dropbox API, your question would likely be better suited in the Issues & Troubleshooting or Product Feedback forum.

  • Avnish K.'s avatar
    Avnish K.
    New member | Level 1
    10 years ago

    Hi,

    I am integrating API V2 in my application. I want to know, if any user rename any file using my application, user go to his Dropbox account and wants to check any older version for that file then how he will find the version history for that file.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    They can use the button to "Show deleted files" on the Dropbox web site, which will show the file at the old path. They can then get the file history from there.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!