My case is this. Our company will generates files that we pass off to another company for processing (printing, specifically). These files are not really big, say less than 100M each, PDFs. Up to now this pass-off process has been "manual": we generate the files with a script, then upload them to a folder shared from the 2nd company, in our Dropbox account. The whole arrangement has been pretty informal, just personal use Dropbox accounts on our end.
We now want to automate the passing-off of the files. I have been working on code to do this and it works, but not quite. I started by creating an app for my account. I scoped the app to a specific folder. I can upload files via API call with the app credentials (token) no problem. However, the files need to get dropped in the 2nd company's shared folder. (1) I tried moving the shared folder into the app scoped folder, but that is not allowed. (2) I then tried a different app, scoped to my entire Dropbox account (not scoped to the folder), so I could put files into the shared folder; but when I did this I got a "missing scope" error, with the scope "files.content.write" required. However, for the app I did turn this permission on. I imagine it has to do with my app somehow not having permission to the 2nd company's shared folder, although I don't know.
So I'm not sure how to do this. I recognize that I am possibly doing it all wrong. It occurred to me that the 2nd company might need to be the one to create an app in their Dropbox and give us the app credentials or whatnot, but as I said, this is pretty informal and I'd like to keep this 2nd company's setup in their account for our needs to an absolute minimum. Hopefully I just missed something in the above that will get this to work for us?
Thanks in advance for help.