We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Lukag
3 months agoCollaborator | Level 8
Download file by Api ( Files/download ) , no error no file
I try to dowload a file by a Api .
I have no error and a response with "OK" but i don't see the file.
Have i donwloaded it ? where ? can i set up the local directory where save it ?
This is my...
Здравко
3 months agoLegendary | Level 20
Lukag wrote:I try to dowload a file by a Api .
I have no error and a response with "OK" but i don't see the file.
Have i donwloaded it ? where ? can i set up the local directory where save it ?
...
🙂Your code is Ok. You don't need to change anything. It is not the same about understanding what a network stream is!
Your file is downloaded (or in process of download at least) but you expect it to be a file on your local file system. Right? Hm... Error! File object and file stream are different things. 😉 Something you don't clearly understand, as seems. You can direct the file stream you received to a file you want, if you want (as seems it is). It's not something mandatory though. That's it. Add whatever you want in your code, if you want; don't expect it comes somewhere from - not clear where. Also, before continue, get familiar with file and file stream (as terms) - what is common and what different.
Hope this gives direction.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 21 days agoIf 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 or Facebook.
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!