<?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 check if a file or folder exists on Dropbox in the new Dropbox iOS SDK which is now available ? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-a-file-or-folder-exists-on-Dropbox-in-the-new/m-p/124078#M3617</link>
    <description>&lt;P&gt;I see some responses of checking if the file exists via DBFileSystem over internet, but this was in Sync API which is not available now. There is nothing I am able to find the new DropboxSDK.framework for checking if a file or folder exists before creating a new one. I can use tricks to do this, but is there any official method to do this ? Further, I've tried to use a trick of loading metadata for a non-existent path to see if an error comes in response which can be used to determine the specific file or folder does not exist. But, the Dropbox SDK fails saying that it is not able to create the path for query as it is not existing. However, this message is only seen as a warning and not in any callback to act upon. Can anyone help on this ?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:43:01 GMT</pubDate>
    <dc:creator>Rahul M.1</dc:creator>
    <dc:date>2019-05-29T09:43:01Z</dc:date>
    <item>
      <title>How to check if a file or folder exists on Dropbox in the new Dropbox iOS SDK which is now available ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-a-file-or-folder-exists-on-Dropbox-in-the-new/m-p/124078#M3617</link>
      <description>&lt;P&gt;I see some responses of checking if the file exists via DBFileSystem over internet, but this was in Sync API which is not available now. There is nothing I am able to find the new DropboxSDK.framework for checking if a file or folder exists before creating a new one. I can use tricks to do this, but is there any official method to do this ? Further, I've tried to use a trick of loading metadata for a non-existent path to see if an error comes in response which can be used to determine the specific file or folder does not exist. But, the Dropbox SDK fails saying that it is not able to create the path for query as it is not existing. However, this message is only seen as a warning and not in any callback to act upon. Can anyone help on this ?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:43:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-a-file-or-folder-exists-on-Dropbox-in-the-new/m-p/124078#M3617</guid>
      <dc:creator>Rahul M.1</dc:creator>
      <dc:date>2019-05-29T09:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a file or folder exists on Dropbox in the new Dropbox iOS SDK which is now available ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-a-file-or-folder-exists-on-Dropbox-in-the-new/m-p/124079#M3618</link>
      <description>&lt;P&gt;I think you're on the right track. You should call &lt;CODE&gt;loadMetadata&lt;/CODE&gt; on the path you're interested in, and then the &lt;CODE&gt;loadMetadataFailedWithError&lt;/CODE&gt; method on your delegate should be invoked with the error that the path doesn't exist. See &lt;A href="https://www.dropbox.com/developers/core/start/ios#listing" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/core/start/ios#listing&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2015 23:10:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-a-file-or-folder-exists-on-Dropbox-in-the-new/m-p/124079#M3618</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-05-09T23:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a file or folder exists on Dropbox in the new Dropbox iOS SDK which is now available ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-a-file-or-folder-exists-on-Dropbox-in-the-new/m-p/124080#M3619</link>
      <description>&lt;P&gt;Steve,&lt;BR /&gt;
I've tried loadMetaData method, it is calling the delegate and showing proper error. Yesterday, it wasn't getting called and SDK was only throwing warning and silently failing. Could be my mistake somewhere. Thanks and sorry for bothering on such small stuff.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 01:28:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-a-file-or-folder-exists-on-Dropbox-in-the-new/m-p/124080#M3619</guid>
      <dc:creator>Rahul M.1</dc:creator>
      <dc:date>2015-05-11T01:28:56Z</dc:date>
    </item>
  </channel>
</rss>

