We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
haider197
7 years agoNew member | Level 2
read choosed file cotent
i'm using dropbox chooser , it works well for me , but i want to read the choosed file cotent and put it in a textarea , i'm using the piece of code $.get(files[0].link, function (data) { console....
- 7 years agoHey haider197, I moved your post here, where some like-minded users will have some ideas to share with you.In the meantime, could you also send us a screenshot (without any personal info) of the behavior you’re experiencing so as to have a better visual understanding?Thanks in advance! :grin:
Greg-DB
Dropbox Community Moderator
7 years agoIt sounds like you're using the Dropbox Chooser with a "direct" link type to access the file data for the chosen file.
I see that you already have the Chooser part working, and you're able to retrieve the file data from the returned link. What you do with the data from there is up to you, but note that the Dropbox link will just return the raw data for the chosen file.
In this case, that will be the raw .docx file data. The .docx file format isn't plain text though, so it won't be directly human readable. You may need to use some third party library for reading the docx format and getting out whatever information you're looking for.
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!