Message 1 of 2
Update file in Dropbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I would like update a txt-file in public link on my Dropbox. Is there a way. I was looking little on Dropbox developer api, but could not use upload-function right. Anybody who has tested before?
To read a file from Dropbox it´s easy. But I don´t know if it´s possible to update without permission
public void ReadTxt() { try { WebClient client = new WebClient(); Stream stream = client.OpenRead("https://dl.dropboxusercontent.com/u/174474939/02Landskap/test.txt"); StreamReader reader = new StreamReader(stream, UTF8Encoding.UTF8); content = reader.ReadToEnd(); MessageBox.Show("\n" + content); reader.Close(); } catch (Exception e) { MessageBox.Show("No Connection - Can´t read user account!"); } }