Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Samuel N.1
9 years agoNew member | Level 1
Read from Stream downloaded from Dropbox in memory
I am downloading a file using DownloadAsync() and am getting the Stream from it using GetContentAsStreamAsync(). When I put the Stream into a StreamReader, I cannot read any of the lines.
I have tried to copy the file to another Stream variable to no avail. At the point of Reading the lines in the StreamReader, my DropboxClient is still open so the file should still be in memory.
How do I go about reading the file?
1 Reply
Replies have been turned off for this discussion
- Samuel N.19 years agoNew member | Level 1
This can be archived. I realised that when I was doing my upload (after I had read the file first time), I was forgetting to put the position back to 0 so the file was uploading 0 bytes of data.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!