Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
vaishali1
9 years agoExplorer | Level 3
Copy function having the from and to path issue
I am using dropbox php SDK and using copy function i am trying to copy one folder to another folder but in response i am getting following error: For copy function i am giving from path like "/test" ...
- 9 years ago
Per the /2/files/copy_v2 documentation, a `to/conflict/folder` error indicates that the operation failed because there's a folder in the way.
In your example, that means that there's already a folder at "/abc".
Note that you need to specify the full desired destination path, including name, in `to_path`. That is, in this case, if you wanted to move the "test" folder inside the already-existing "abc" folder, your `to_path` should be "/abc/test".
Greg-DB
Dropbox Community Moderator
9 years agoPer the /2/files/copy_v2 documentation, a `to/conflict/folder` error indicates that the operation failed because there's a folder in the way.
In your example, that means that there's already a folder at "/abc".
Note that you need to specify the full desired destination path, including name, in `to_path`. That is, in this case, if you wanted to move the "test" folder inside the already-existing "abc" folder, your `to_path` should be "/abc/test".
vaishali1
9 years agoExplorer | Level 3
Thanks Greg for your help. My issue get sloved.
:slight_smile:
About 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!