<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: uploading file to dropbox unauthorized access denied in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211811#M10683</link>
    <description>The error message seems to be indicating that your app isn't allow to access the local path (not the remote Dropbox path). That being the case, this seems to be more of an Android issue, so I'm afraid I can't offer much insight. You'll need to look in to why your app can't access that local file path, or if that's not the right path, what is.</description>
    <pubDate>Wed, 15 Mar 2017 22:56:27 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-03-15T22:56:27Z</dc:date>
    <item>
      <title>uploading file to dropbox unauthorized access denied</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211804#M10680</link>
      <description>&lt;P&gt;i get this error&lt;/P&gt;&lt;P&gt;System.UnauthorizedAccessException: Access to the path '/data/data/AndroidMaster.AndroidMaster/files' is denied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public void FileUploadToDropbox()
        {
            string fileSource = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
            using (var dbx = new DropboxClient(token"))
            using (var fs = new FileStream(fileSource, FileMode.Create, FileAccess.Read))
            {
                var updated = dbx.Files.UploadAsync(("data.db3"), WriteMode.Overwrite.Instance, body: fs);
            }
        }&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:24:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211804#M10680</guid>
      <dc:creator>melium</dc:creator>
      <dc:date>2019-05-29T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: uploading file to dropbox unauthorized access denied</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211811#M10683</link>
      <description>The error message seems to be indicating that your app isn't allow to access the local path (not the remote Dropbox path). That being the case, this seems to be more of an Android issue, so I'm afraid I can't offer much insight. You'll need to look in to why your app can't access that local file path, or if that's not the right path, what is.</description>
      <pubDate>Wed, 15 Mar 2017 22:56:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211811#M10683</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-15T22:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: uploading file to dropbox unauthorized access denied</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211819#M10684</link>
      <description>thx for replying man, i got it working. ill post my code here</description>
      <pubDate>Wed, 15 Mar 2017 23:48:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211819#M10684</guid>
      <dc:creator>melium</dc:creator>
      <dc:date>2017-03-15T23:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: uploading file to dropbox unauthorized access denied</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211820#M10685</link>
      <description>&lt;P&gt;my working code&lt;/P&gt;&lt;PRE&gt;void Upload()
        {
            using (DropboxClient dbx = new DropboxClient("token"))
            {
                
                string file = "/data.db3";
                byte[] byteArray = File.ReadAllBytes(@"/data/data/AndroidMaster.AndroidMaster/files/data.db3");
                MemoryStream stream1 = new MemoryStream(byteArray);
                var updated = dbx.Files.UploadAsync(file, WriteMode.Overwrite.Instance, body: stream1);

            }

        }&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Mar 2017 23:50:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/uploading-file-to-dropbox-unauthorized-access-denied/m-p/211820#M10685</guid>
      <dc:creator>melium</dc:creator>
      <dc:date>2017-03-15T23:50:41Z</dc:date>
    </item>
  </channel>
</rss>

