Suppose I have a Dropbox account and I want to upload a file in the path "/Client1/2016/filename.txt". There are no folder in my dropbox account either "Client1" or "2016". My requirement is When the file will upload it will automatically create the navigation path folder "Client1/2016/" and upload the file.Is it possible? I'm using the following code for file upload-
<SPAN class="typ">RequestResult</SPAN><SPAN class="pln"> strReq </SPAN><SPAN class="pun">=</SPAN> <SPAN class="typ">OAuthUtility</SPAN><SPAN class="pun">.</SPAN><SPAN class="typ">Put</SPAN>
<SPAN class="pun">(</SPAN>
<SPAN class="str">"https://api-content.dropbox.com/1/files_put/auto/"</SPAN><SPAN class="pun">,</SPAN>
<SPAN class="kwd">new</SPAN> <SPAN class="typ">HttpParameterCollection</SPAN>
<SPAN class="pun">{</SPAN>
<SPAN class="pun">{</SPAN><SPAN class="str">"access_token"</SPAN><SPAN class="pun">,</SPAN> <SPAN class="str">"AccessToken"</SPAN><SPAN class="pun">},</SPAN>
<SPAN class="pun">{</SPAN><SPAN class="str">"path"</SPAN><SPAN class="pun">,</SPAN> <SPAN class="str">"filepath"</SPAN><SPAN class="pun">},</SPAN>
<SPAN class="pun">{</SPAN><SPAN class="str">"overwrite"</SPAN><SPAN class="pun">,</SPAN> <SPAN class="str">"false"</SPAN><SPAN class="pun">},</SPAN>
<SPAN class="pun">{</SPAN><SPAN class="str">"autorename"</SPAN><SPAN class="pun">,</SPAN><SPAN class="str">"false"</SPAN><SPAN class="pun">},</SPAN>
<SPAN class="pun">{</SPAN><SPAN class="pln">stream</SPAN><SPAN class="pun">}</SPAN>
<SPAN class="pun">}</SPAN>
<SPAN class="pun">);</SPAN>