<?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: Moving Local Website and Local SQL to Azure in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/505288#M25003</link>
    <description>&lt;P&gt;Specifically, to create a folder in the connected&amp;nbsp;Dropbox account using the .NET SDK, you'd want to use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_CreateFolderV2Async_1.htm" target="_self"&gt;the&amp;nbsp;CreateFolderV2Async method&lt;/A&gt;. And to upload files, you can use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadAsync.htm" target="_self"&gt;the&amp;nbsp;UploadAsync method&lt;/A&gt;. Those are links to the documentation for each method for more information on the options offered by each. You can also find the relevant parts of the examples &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/853de4f93dacb08505d9ce33ba526e6ab9188471/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L330" target="_blank"&gt;here&lt;/A&gt; and &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/853de4f93dacb08505d9ce33ba526e6ab9188471/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L453" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Mar 2021 15:07:19 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-03-16T15:07:19Z</dc:date>
    <item>
      <title>Moving Local Website and Local SQL to Azure</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/504967#M24991</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am in the process of porting my SQL DB and Website to Azure.&amp;nbsp; Basically, I did it; and it works, EXCEPT, the Dropbox part of it does not work &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@B0F70D28791EB05FA3EA0C3BDDF08EE3/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt; .&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my C# code that works when the website is running on a local machine, it works because the Dropbox app is installed on that Server.&amp;nbsp; In the below code, Dropbox syncs folders are on the D:\ drive.&amp;nbsp; It's simple code... if a subfolder doesn't exist, then the code creates a subfolder in Dropbox; then it copies a file to that subfolder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed the Dropbox.Api in my Visual Studio web app, but before I start messing things up, I thought I'd ask you smart folks if you can take the below code and tell me what to change it to so it works on Azure App Services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;string path = formatYYYY + @"\" + formatMM + @"\" + formatDD + @"\";&lt;BR /&gt;long s1 = 0;&lt;/P&gt;&lt;P&gt;try&lt;BR /&gt;{&lt;BR /&gt;if (Directory.Exists(@"D:\Dropbox\Jobisez LLC\Archive\Translation\" + path))&lt;BR /&gt;{&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;DirectoryInfo di = Directory.CreateDirectory(@"D:\Dropbox\Jobisez LLC\Archive\Translation\" + path);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;catch&lt;BR /&gt;{&lt;BR /&gt;DirectoryInfo di = Directory.CreateDirectory(@"D:\Dropbox\Jobisez LLC\Archive\Translation\" + path);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;File.Copy(sFileDir + Session.Contents["Id"].ToString() + "." + sFileName + "." + myActivityDtTm + ".TXT", @"D:\Dropbox\Jobisez LLC\Archive\Translation\" + path + Session.Contents["Id"].ToString() + "." + sFileName + "." + myActivityDtTm + ".TXT");&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 18:23:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/504967#M24991</guid>
      <dc:creator>Stevenj519</dc:creator>
      <dc:date>2021-03-15T18:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Local Website and Local SQL to Azure</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/505027#M24997</link>
      <description>&lt;P&gt;When using the API, you'll need to use the Dropbox methods for browsing the filesystem, getting a path, and downloading it. (The API doesn't mount Dropbox to the local filesystem). See here for the Dropbox&amp;nbsp;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet" target="_self"&gt;.NET SDK&lt;/A&gt; overview and&amp;nbsp;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/tree/master/dropbox-sdk-dotnet/Examples" target="_self"&gt;here&lt;/A&gt; for examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 20:21:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/505027#M24997</guid>
      <dc:creator>kylea</dc:creator>
      <dc:date>2021-03-15T20:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Local Website and Local SQL to Azure</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/505048#M24998</link>
      <description>&lt;P&gt;Hi, and thank you!&amp;nbsp; But those example are 1000s of lines each.&amp;nbsp; I'm just trying to find the C# code to create a subfolder within Dropbox (if necessary); and upload a file to that Dropbox subfolder.&amp;nbsp; Does anyone have the "important" code to do that?&amp;nbsp; Like the "using" statements, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Steve.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 21:13:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/505048#M24998</guid>
      <dc:creator>Stevenj519</dc:creator>
      <dc:date>2021-03-15T21:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Local Website and Local SQL to Azure</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/505288#M25003</link>
      <description>&lt;P&gt;Specifically, to create a folder in the connected&amp;nbsp;Dropbox account using the .NET SDK, you'd want to use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_CreateFolderV2Async_1.htm" target="_self"&gt;the&amp;nbsp;CreateFolderV2Async method&lt;/A&gt;. And to upload files, you can use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadAsync.htm" target="_self"&gt;the&amp;nbsp;UploadAsync method&lt;/A&gt;. Those are links to the documentation for each method for more information on the options offered by each. You can also find the relevant parts of the examples &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/853de4f93dacb08505d9ce33ba526e6ab9188471/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L330" target="_blank"&gt;here&lt;/A&gt; and &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/853de4f93dacb08505d9ce33ba526e6ab9188471/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L453" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 15:07:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Moving-Local-Website-and-Local-SQL-to-Azure/m-p/505288#M25003</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-16T15:07:19Z</dc:date>
    </item>
  </channel>
</rss>

