<?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: Obj-C Trying to upload but am having some issues in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/301292#M18241</link>
    <description>&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured out the first issue. It was App Sandbox changing a random string of numbers in the local path every time the app launched. Whoops.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second issue was solved with an update thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now stuck on upload/overwrite. Where it wants the file data here:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;NSData *fileData = [@"file data example" dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:NO];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I'm giving it the local path to the file like the batch upload method but it just makes a file with text of the path I gave it. That can't be right! Ahah&lt;/P&gt;&lt;P&gt;Also, thanks! I'll have to look into how to do that for multiple downloads.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 00:16:34 GMT</pubDate>
    <dc:creator>FYVE</dc:creator>
    <dc:date>2018-10-05T00:16:34Z</dc:date>
    <item>
      <title>Obj-C Trying to upload but am having some issues</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/300775#M18218</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to upload files from my app but entering in my&amp;nbsp;fileURLWithPath code doesn't seem to work. It keeps saying the file doesn't exist. I read the exact path in the console and pasted it in but it still can't find the file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is trying the batchUpload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting this error:&lt;/P&gt;&lt;P&gt;No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'uploadData:mode:autorename:clientModified:mute:propertyGroups:inputData:'&lt;/P&gt;&lt;P&gt;When I try using the first method in the documentation. Any help with this would be amazing... I can't sort it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, is there a way to upload/download all files of a certain type from a folder? Like if I wanted to upload/download all .sav files for example. Is this possible?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/300775#M18218</guid>
      <dc:creator>FYVE</dc:creator>
      <dc:date>2019-05-29T09:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Obj-C Trying to upload but am having some issues</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/300929#M18223</link>
      <description>&lt;P&gt;Regarding the first issue, with the file not being found, we'd need more information to be able to offer help. If you're still having trouble with that, please share the full steps and code to reproduce the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the second issue, with the uploadData method not being found, that selector looks correct. What version number of the SDK do you have installed though? It sounds like you may have an older version without that method definition. Make sure you're using the latest version, currently v3.9.1.&lt;/P&gt;
&lt;P&gt;And regarding the last question, the&amp;nbsp;Dropbox API doesn't offer an automatic way to do that, but you can certainly &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder:" target="_self"&gt;list&lt;/A&gt; the contents of the folder, filter the results to&amp;nbsp;the desired entries (i.e., based on the extension), and then &lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)downloadUrl:overwrite:destination:" target="_self"&gt;download&lt;/A&gt; each of those desired files.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:23:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/300929#M18223</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-10-03T15:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Obj-C Trying to upload but am having some issues</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/301292#M18241</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured out the first issue. It was App Sandbox changing a random string of numbers in the local path every time the app launched. Whoops.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second issue was solved with an update thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now stuck on upload/overwrite. Where it wants the file data here:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;NSData *fileData = [@"file data example" dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:NO];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I'm giving it the local path to the file like the batch upload method but it just makes a file with text of the path I gave it. That can't be right! Ahah&lt;/P&gt;&lt;P&gt;Also, thanks! I'll have to look into how to do that for multiple downloads.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 00:16:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/301292#M18241</guid>
      <dc:creator>FYVE</dc:creator>
      <dc:date>2018-10-05T00:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Obj-C Trying to upload but am having some issues</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/301423#M18245</link>
      <description>&lt;P&gt;Are you using uploadData for that? If you want to supply the URL to the local file instead of the Data directly, use one of the uploadUrl methods instead:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)uploadUrl:inputUrl" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)uploadUrl:inputUrl&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 14:53:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Trying-to-upload-but-am-having-some-issues/m-p/301423#M18245</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-10-05T14:53:13Z</dc:date>
    </item>
  </channel>
</rss>

