This project is read-only.

Download question

Sep 1, 2010 at 8:46 AM
Do you have any more example of how to get the stream down to a file on the local harddrive?
I try to do like this, and it works fine with .txt files, but with other files there seems to be some encoding issues.
ICloudFileSystemEntry file = root.GetChild("Test.pdf");
Stream data = file.GetContentStream(FileAccess.Read);
StreamReader reader = new StreamReader(data, true);                              
 StreamWriter writer = new StreamWriter(@"C:\test.pdf");              
Sep 2, 2010 at 9:52 PM

Ok, solved it.

The above code was not even close...


Sep 4, 2010 at 12:39 PM
Hi Erik, on the documentation wiki you will some sample as well. I would appreciate ideas for new usefull examples with helps to make the start easiee. regards Dirk