box api - Copy a file across Box accounts -


i working on integrating application box. providing way user send files server, , server upload managed enterprise box account.

i support users have file in box can select file box account , transfer server's box account. can having user download file, upload server, , having server upload box account.

it seems silly download , re-upload file. there way copy file user account server's account (with user's approval)?

so let's have user , user b. if want copy file user a's "outbox" folder user b's "inbox" folder. can 1 of 2 ways.

either user b can make user a collaborator editor access "inbox" folder. user a's account can copy api (post /files//copy documentation here) , "push" file b's inbox.

or

via "pull" model. user can give user b access "outbox" folder, , user b can run copy api, , copy content "inbox" folder.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -