<?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 do I upload  a PDF file with Swiftly Dropbox in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-upload-a-PDF-file-with-Swiftly-Dropbox/m-p/200270#M9369</link>
    <description>&lt;P&gt;&amp;nbsp;i can't seem to get a file upload properly with the new v2 Swiftly Dropbox. &amp;nbsp;Can someone please give me and example? &amp;nbsp;Im trying to upload a pdf file with images and markup text. &amp;nbsp;thanks in advance. &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:27:10 GMT</pubDate>
    <dc:creator>bbongrip</dc:creator>
    <dc:date>2019-05-29T09:27:10Z</dc:date>
    <item>
      <title>How do I upload  a PDF file with Swiftly Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-upload-a-PDF-file-with-Swiftly-Dropbox/m-p/200270#M9369</link>
      <description>&lt;P&gt;&amp;nbsp;i can't seem to get a file upload properly with the new v2 Swiftly Dropbox. &amp;nbsp;Can someone please give me and example? &amp;nbsp;Im trying to upload a pdf file with images and markup text. &amp;nbsp;thanks in advance. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:27:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-upload-a-PDF-file-with-Swiftly-Dropbox/m-p/200270#M9369</guid>
      <dc:creator>bbongrip</dc:creator>
      <dc:date>2019-05-29T09:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I upload  a PDF file with Swiftly Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-upload-a-PDF-file-with-Swiftly-Dropbox/m-p/200361#M9376</link>
      <description>&lt;P&gt;The type of file shouldn't really matter. This works for me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;let data = try? Data(contentsOf: URL(fileURLWithPath: "/local/path/to/test.pdf"))
if (data != nil) {
    DropboxClientsManager.authorizedClient!.files.upload(path: "/test.pdf", input: data!)
    .response { response, error in
        if let response = response {
            print(response)
        } else if let error = error {
            print(error)
        }
    }
}&lt;/PRE&gt;
&lt;P&gt;If you're still having trouble, please share your code and the error you're getting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 18:35:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-upload-a-PDF-file-with-Swiftly-Dropbox/m-p/200361#M9376</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-03T18:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I upload  a PDF file with Swiftly Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-upload-a-PDF-file-with-Swiftly-Dropbox/m-p/200896#M9463</link>
      <description>thanks Greg. this is similar to what i had but its still giving me an error about the directory path. ill post some of my code later on when i get a chance.</description>
      <pubDate>Sat, 07 Jan 2017 00:29:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-upload-a-PDF-file-with-Swiftly-Dropbox/m-p/200896#M9463</guid>
      <dc:creator>bbongrip</dc:creator>
      <dc:date>2017-01-07T00:29:25Z</dc:date>
    </item>
  </channel>
</rss>

