<?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 file_copy is changing case when searching for local path in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/file-copy-is-changing-case-when-searching-for-local-path/m-p/89565#M2752</link>
    <description>&lt;P&gt;I'm writing a sync client (in Ruby) to copy a folder from local to Dropbox.&amp;nbsp; My code is as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_copy(settings['local_folder'],settings['remote_folder'])&lt;/P&gt;
&lt;P&gt;I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in `parse_response': Path '/home/user/projects/clients/' not found (DropboxError)&lt;/P&gt;
&lt;P&gt;This is true; that folder doesn't exist.&amp;nbsp; It's '/home/user/Projects/Clients'&lt;/P&gt;
&lt;P&gt;Is there any way to fix this *other* than renaming all of my local folders to lowercase?&amp;nbsp; This is on my personal Linux machine, so in this case, it would be a hassle for all other file references and scripts I have.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:40:17 GMT</pubDate>
    <dc:creator>Kate K.11</dc:creator>
    <dc:date>2019-05-29T09:40:17Z</dc:date>
    <item>
      <title>file_copy is changing case when searching for local path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/file-copy-is-changing-case-when-searching-for-local-path/m-p/89565#M2752</link>
      <description>&lt;P&gt;I'm writing a sync client (in Ruby) to copy a folder from local to Dropbox.&amp;nbsp; My code is as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_copy(settings['local_folder'],settings['remote_folder'])&lt;/P&gt;
&lt;P&gt;I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in `parse_response': Path '/home/user/projects/clients/' not found (DropboxError)&lt;/P&gt;
&lt;P&gt;This is true; that folder doesn't exist.&amp;nbsp; It's '/home/user/Projects/Clients'&lt;/P&gt;
&lt;P&gt;Is there any way to fix this *other* than renaming all of my local folders to lowercase?&amp;nbsp; This is on my personal Linux machine, so in this case, it would be a hassle for all other file references and scripts I have.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:40:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/file-copy-is-changing-case-when-searching-for-local-path/m-p/89565#M2752</guid>
      <dc:creator>Kate K.11</dc:creator>
      <dc:date>2019-05-29T09:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: file_copy is changing case when searching for local path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/file-copy-is-changing-case-when-searching-for-local-path/m-p/89566#M2753</link>
      <description>&lt;P&gt;Is the path "/home/user/Projects/Clients" a local path on your machine? The&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-ruby/api-docs/v1.6.4/DropboxClient.html#method-i-file_copy" target="_blank" rel="nofollow noreferrer"&gt;file_copy&lt;/A&gt; method takes two parameters, both of which are supposed to be remote paths in Dropbox (not local paths), in order to copy a file or folder already in&amp;nbsp;Dropbox to another location in Dropbox. They should be paths relative to the root of the Dropbox.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to upload files and folders, you'll need to loop through the files and call one of the methods to upload, e.g., &lt;A href="https://dropbox.github.io/dropbox-sdk-ruby/api-docs/v1.6.4/DropboxClient.html#method-i-put_file" target="_blank" rel="nofollow noreferrer"&gt;put_file&lt;/A&gt;, as necessary.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 01:21:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/file-copy-is-changing-case-when-searching-for-local-path/m-p/89566#M2753</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-09-03T01:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: file_copy is changing case when searching for local path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/file-copy-is-changing-case-when-searching-for-local-path/m-p/89567#M2754</link>
      <description>&lt;P&gt;Got it, thanks for clearing this up for me, Gregory.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 01:22:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/file-copy-is-changing-case-when-searching-for-local-path/m-p/89567#M2754</guid>
      <dc:creator>Kate K.11</dc:creator>
      <dc:date>2015-09-03T01:22:32Z</dc:date>
    </item>
  </channel>
</rss>

