Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Document between folders #4

Open
kcruzado opened this issue Feb 8, 2016 · 0 comments
Open

Move Document between folders #4

kcruzado opened this issue Feb 8, 2016 · 0 comments

Comments

@kcruzado
Copy link

kcruzado commented Feb 8, 2016

What is the best way to move documents between folders?

The only way I can see doing this with the existing library is to...

  1. Get the document
  2. Get the Stream of the file using the document's ID (revision Id of the document)
  3. Create a new document (placeholder) in the destination folder
  4. Upload the document stream to the newly created document
  5. Delete to the original document

This seems like a lot of steps to move one document to another folder. Is there something that I am missing? I can't seem to find any methods or documentation that does this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant