<?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 iOS SDK not uploading to folder path in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-SDK-not-uploading-to-folder-path/m-p/52611#M1604</link>
    <description>&lt;P&gt;I'm using "restClient.uploadFile(file, toPath: destPath, withParentRev: nil, fromPath: sourcePath)", where file="someFileName", destPath="somePathOnMyDropboxAccount", and sourcePath="someLocalFilePath". But instead of the file uploading to the designated path, it uploads to "file/file", creating a folder of the same name as the file on my Dropbox root folder.&lt;BR /&gt;&lt;BR /&gt;What I wanted to happen was to upload my file to a specific folder (that may or may not exist). How do I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:40:31 GMT</pubDate>
    <dc:creator>Ron B.15</dc:creator>
    <dc:date>2019-05-29T09:40:31Z</dc:date>
    <item>
      <title>iOS SDK not uploading to folder path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-SDK-not-uploading-to-folder-path/m-p/52611#M1604</link>
      <description>&lt;P&gt;I'm using "restClient.uploadFile(file, toPath: destPath, withParentRev: nil, fromPath: sourcePath)", where file="someFileName", destPath="somePathOnMyDropboxAccount", and sourcePath="someLocalFilePath". But instead of the file uploading to the designated path, it uploads to "file/file", creating a folder of the same name as the file on my Dropbox root folder.&lt;BR /&gt;&lt;BR /&gt;What I wanted to happen was to upload my file to a specific folder (that may or may not exist). How do I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:40:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-SDK-not-uploading-to-folder-path/m-p/52611#M1604</guid>
      <dc:creator>Ron B.15</dc:creator>
      <dc:date>2019-05-29T09:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK not uploading to folder path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-SDK-not-uploading-to-folder-path/m-p/52612#M1605</link>
      <description>&lt;P&gt;Can you post your actual code, including the real values for these variables, and the output? It's hard to follow using the&amp;nbsp;example values.&lt;/P&gt;
&lt;P&gt;Also, there's some sample code for this in the tutorial:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/core/start/ios#uploading" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/core/start/ios#uploading&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 00:11:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-SDK-not-uploading-to-folder-path/m-p/52612#M1605</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-08-19T00:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SDK not uploading to folder path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-SDK-not-uploading-to-folder-path/m-p/52613#M1606</link>
      <description>&lt;P&gt;Unfortunately, the example you cited in the tutorial shows how to upload to the root directory. That isn't the problem I'm having. I needed to know how to upload to something other than the root directory.&lt;/P&gt;
&lt;P&gt;Through process of elimination, I figured out that I need to include the "/" prefix to my 'toPath:' parameter. Any path components before the "/" are apparently ignored.&lt;/P&gt;
&lt;P&gt;Thanks for your help anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 00:49:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/iOS-SDK-not-uploading-to-folder-path/m-p/52613#M1606</guid>
      <dc:creator>Ron B.15</dc:creator>
      <dc:date>2015-08-19T00:49:26Z</dc:date>
    </item>
  </channel>
</rss>

