<?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 how to update the file in the dropbox with a different name but the contents of file are same - using iOS core API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-update-the-file-in-the-dropbox-with-a-different-name-but/m-p/134107#M4008</link>
    <description>&lt;P&gt;I have used the below method to update a file,&lt;/P&gt;
&lt;P&gt;- (void)uploadFile:(NSString *)filename toPath:(NSString *)path withParentRev:(NSString *)parentRev&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fromPath:(NSString *)sourcePath;&lt;/P&gt;
&lt;P&gt;I want to update a file say abc.txt in the dropbox, with the same content but with different filename say def.txt. For this, I have get the parentRev of abc.txt and i have changed the filename to def.txt and uploaded the def.txt with the same parentRevision. But, the def.txt was uploaded as a separate file instead of replacing/updating the abc.txt. Now, the dropbox contains two files abc.txt and def.txt. Please tell me is there any way to replace the file abc.txt with def.txt. Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:36:05 GMT</pubDate>
    <dc:creator>arjung r.</dc:creator>
    <dc:date>2019-05-29T09:36:05Z</dc:date>
    <item>
      <title>how to update the file in the dropbox with a different name but the contents of file are same - using iOS core API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-update-the-file-in-the-dropbox-with-a-different-name-but/m-p/134107#M4008</link>
      <description>&lt;P&gt;I have used the below method to update a file,&lt;/P&gt;
&lt;P&gt;- (void)uploadFile:(NSString *)filename toPath:(NSString *)path withParentRev:(NSString *)parentRev&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fromPath:(NSString *)sourcePath;&lt;/P&gt;
&lt;P&gt;I want to update a file say abc.txt in the dropbox, with the same content but with different filename say def.txt. For this, I have get the parentRev of abc.txt and i have changed the filename to def.txt and uploaded the def.txt with the same parentRevision. But, the def.txt was uploaded as a separate file instead of replacing/updating the abc.txt. Now, the dropbox contains two files abc.txt and def.txt. Please tell me is there any way to replace the file abc.txt with def.txt. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:36:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-update-the-file-in-the-dropbox-with-a-different-name-but/m-p/134107#M4008</guid>
      <dc:creator>arjung r.</dc:creator>
      <dc:date>2019-05-29T09:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to update the file in the dropbox with a different name but the contents of file are same - using iOS core API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-update-the-file-in-the-dropbox-with-a-different-name-but/m-p/134108#M4009</link>
      <description>&lt;P&gt;Yes, you can use the /move endpoint to move the contents from one path in Dropbox to another. In your example, you would set 'abc.txt' as the fromPath value, and 'def.txt' as the toPath. Here's the link to the Swift SDK documentation:&amp;nbsp;&lt;A href="http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes4moveFS0_FT8fromPathSS6toPathSS_GCS_15BabelRpcRequestCCS_5Files18MetadataSerializerCS2_25RelocationErrorSerializer_" rel="nofollow noreferrer"&gt;http://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes4moveFS0_FT8fromPathSS6toPathSS_GCS_15BabelRpcRequestCCS_5Files18MetadataSerializerCS2_25RelocationErrorSerializer_&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 03:06:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-update-the-file-in-the-dropbox-with-a-different-name-but/m-p/134108#M4009</guid>
      <dc:creator>Alexandra F.1</dc:creator>
      <dc:date>2016-02-09T03:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to update the file in the dropbox with a different name but the contents of file are same - using iOS core API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-update-the-file-in-the-dropbox-with-a-different-name-but/m-p/134109#M4010</link>
      <description>&lt;P&gt;Also, for reference, if you're using the iOS Core SDK, that corresponds to this method:&lt;/P&gt;
&lt;PRE&gt;- (void)moveFrom:(NSString*)fromPath toPath:(NSString *)toPath;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2016 01:34:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/how-to-update-the-file-in-the-dropbox-with-a-different-name-but/m-p/134109#M4010</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-10T01:34:41Z</dc:date>
    </item>
  </channel>
</rss>

