<?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 API v2 upload file with DBFILESWriteModeAdd not working in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-file-with-DBFILESWriteModeAdd-not-working/m-p/247630#M14185</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using API v2 iOS sdk for upload files from my device. I want to add new files every time is file already exist. thats why i am using&amp;nbsp;DBFILESWriteModeAdd for upload. But its not create new fileor even replace. I got success message after upload. Here is my code.&lt;/P&gt;&lt;PRE&gt;DBUserClient *client = [DBClientsManager authorizedClient];
DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite];
NSString *destDir = @"/text.m4a"
DBUploadTask *restClient = [[[client.filesRoutes uploadData:destDir
                                               mode:mode
                                         autorename:@(YES)
                                     clientModified:nil
                                               mute:@(NO)
                                          inputData:fileData]
                     setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *networkError) {
                         if (result)
                         {
                         }
                         else
                         {
                         }
                     }] setProgressBlock:^(int64_t bytesUploaded, int64_t totalBytesUploaded, int64_t totalBytesExpectedToUploaded)
                        {
                        });
                     }];&lt;/PRE&gt;</description>
    <pubDate>Wed, 29 May 2019 09:18:07 GMT</pubDate>
    <dc:creator>ankur</dc:creator>
    <dc:date>2019-05-29T09:18:07Z</dc:date>
    <item>
      <title>API v2 upload file with DBFILESWriteModeAdd not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-file-with-DBFILESWriteModeAdd-not-working/m-p/247630#M14185</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using API v2 iOS sdk for upload files from my device. I want to add new files every time is file already exist. thats why i am using&amp;nbsp;DBFILESWriteModeAdd for upload. But its not create new fileor even replace. I got success message after upload. Here is my code.&lt;/P&gt;&lt;PRE&gt;DBUserClient *client = [DBClientsManager authorizedClient];
DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite];
NSString *destDir = @"/text.m4a"
DBUploadTask *restClient = [[[client.filesRoutes uploadData:destDir
                                               mode:mode
                                         autorename:@(YES)
                                     clientModified:nil
                                               mute:@(NO)
                                          inputData:fileData]
                     setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *networkError) {
                         if (result)
                         {
                         }
                         else
                         {
                         }
                     }] setProgressBlock:^(int64_t bytesUploaded, int64_t totalBytesUploaded, int64_t totalBytesExpectedToUploaded)
                        {
                        });
                     }];&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-file-with-DBFILESWriteModeAdd-not-working/m-p/247630#M14185</guid>
      <dc:creator>ankur</dc:creator>
      <dc:date>2019-05-29T09:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 upload file with DBFILESWriteModeAdd not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-file-with-DBFILESWriteModeAdd-not-working/m-p/247711#M14192</link>
      <description>Are you uploading the same data again? If the data is exactly the same as what already exists at the destination path, no conflict will occur and it won't create a renamed copy.</description>
      <pubDate>Wed, 18 Oct 2017 15:10:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-file-with-DBFILESWriteModeAdd-not-working/m-p/247711#M14192</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-18T15:10:03Z</dc:date>
    </item>
  </channel>
</rss>

