<?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: using c# for upload text file in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239312#M17173</link>
    <description>Ok i Will check the path&lt;BR /&gt;If i want to upload on a specific dropbox folder how can I do?</description>
    <pubDate>Wed, 30 Aug 2017 19:14:36 GMT</pubDate>
    <dc:creator>marcomarta1972</dc:creator>
    <dc:date>2017-08-30T19:14:36Z</dc:date>
    <item>
      <title>using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239254#M17167</link>
      <description>&lt;P&gt;I'm trying to upload a text file to my account, but something I'ts wrong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="code-keyword"&gt;static&lt;/SPAN&gt; &lt;SPAN class="code-keyword"&gt;async&lt;/SPAN&gt; Task Run()
{
	&lt;SPAN class="code-keyword"&gt;using&lt;/SPAN&gt; (&lt;SPAN class="code-keyword"&gt;var&lt;/SPAN&gt; dbx = &lt;SPAN class="code-keyword"&gt;new&lt;/SPAN&gt; DropboxClient(&lt;SPAN class="code-string"&gt;"&lt;/SPAN&gt;&lt;SPAN class="code-string"&gt;MYTOKEN"&lt;/SPAN&gt;))
	{
		&lt;SPAN class="code-keyword"&gt;var&lt;/SPAN&gt; file = &lt;SPAN class="code-string"&gt;"&lt;/SPAN&gt;&lt;SPAN class="code-string"&gt;list.txt"&lt;/SPAN&gt;;
		&lt;SPAN class="code-keyword"&gt;var&lt;/SPAN&gt; folder = &lt;SPAN class="code-string"&gt;"&lt;/SPAN&gt;&lt;SPAN class="code-string"&gt;/Users/user01/Downloads/"&lt;/SPAN&gt;;
		&lt;SPAN class="code-keyword"&gt;var&lt;/SPAN&gt; lastpath = folder + file;
		&lt;SPAN class="code-keyword"&gt;var&lt;/SPAN&gt; mem = &lt;SPAN class="code-keyword"&gt;new&lt;/SPAN&gt; MemoryStream(File.ReadAllBytes(&lt;SPAN class="code-string"&gt;@"&lt;/SPAN&gt;&lt;SPAN class="code-string"&gt;C:\Users\user01\Downloads\list.txt"&lt;/SPAN&gt;));
		&lt;SPAN class="code-keyword"&gt;var&lt;/SPAN&gt; upload = &lt;SPAN class="code-keyword"&gt;await&lt;/SPAN&gt; dbx.Files.UploadAsync(lastpath, Dropbox.Api.Files.WriteMode.Overwrite.Instance, &lt;SPAN class="code-keyword"&gt;false&lt;/SPAN&gt;, &lt;SPAN class="code-keyword"&gt;null&lt;/SPAN&gt;, &lt;SPAN class="code-keyword"&gt;false&lt;/SPAN&gt;, mem);
		Console.WriteLine(upload);
&amp;nbsp;
		Console.ReadLine();
	}
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:12:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239254#M17167</guid>
      <dc:creator>MartaMarco1972</dc:creator>
      <dc:date>2019-05-29T09:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239257#M17168</link>
      <description>&lt;P&gt;What error message do you get when you run your code?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 15:12:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239257#M17168</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-08-30T15:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239264#M17169</link>
      <description>I don't receive any message, but the file is not uploaded..</description>
      <pubDate>Wed, 30 Aug 2017 15:38:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239264#M17169</guid>
      <dc:creator>MartaMarco1972</dc:creator>
      <dc:date>2017-08-30T15:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239266#M17170</link>
      <description>If there isn't an exception being raise with some error, the method should be returning. You're saving the output to `upload`. Can you share the output from `Console.WriteLine(upload);` in that case?</description>
      <pubDate>Wed, 30 Aug 2017 15:53:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239266#M17170</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-08-30T15:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239288#M17171</link>
      <description>The only text displayed is&lt;BR /&gt;Dropbox.Api.FileMetaData</description>
      <pubDate>Wed, 30 Aug 2017 16:49:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239288#M17171</guid>
      <dc:creator>MartaMarco1972</dc:creator>
      <dc:date>2017-08-30T16:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239295#M17172</link>
      <description>&lt;P&gt;That's the &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_FileMetadata.htm" target="_self"&gt;FileMetadata&lt;/A&gt;&amp;nbsp;returned by &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadAsync_1.htm" target="_self"&gt;UploadAsync&lt;/A&gt;&amp;nbsp;indicating that the call succeeded.&amp;nbsp;You can access properties of that FileMetadata to see specific information about the uploaded file, e.g., &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_Metadata_PathDisplay.htm" target="_self"&gt;PathDisplay&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where are you looking such that it seems the file wasn't uploaded? If your app uses the "app folder" permission, make sure you're looking inside the app folder for the app, by default at "/Apps/&amp;lt;app folder name&amp;gt;". That "/Apps" will be localized depending on the locale set for the account though, e.g., "/Applicazioni" for Italian, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 17:23:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239295#M17172</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-08-30T17:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239312#M17173</link>
      <description>Ok i Will check the path&lt;BR /&gt;If i want to upload on a specific dropbox folder how can I do?</description>
      <pubDate>Wed, 30 Aug 2017 19:14:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239312#M17173</guid>
      <dc:creator>marcomarta1972</dc:creator>
      <dc:date>2017-08-30T19:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239313#M17174</link>
      <description>&lt;P&gt;You specify where in the Dropbox account you want to upload the file via the 'path' parameter that you give to&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadAsync_1.htm" target="_self" rel="nofollow noopener noreferrer"&gt;UploadAsync&lt;/A&gt;. (That's the first parameter to&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadAsync_1.htm" target="_self" rel="nofollow noopener noreferrer"&gt;UploadAsync&lt;/A&gt;&amp;nbsp;in the code that you shared earlier.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that for apps with the 'app folder' permission, the app can only upload within its app folder. The path you supply with be used relative to the app folder. If you want to be able to upload anywhere in the&amp;nbsp;Dropbox account, you need to use the 'full Dropbox' permission instead. You can find more information about the different permissions &lt;A href="https://www.dropbox.com/developers/reference/developer-guide#app-permissions" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 19:23:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239313#M17174</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-08-30T19:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239314#M17175</link>
      <description>Ok I understand, the update of the app folder is immediate?</description>
      <pubDate>Wed, 30 Aug 2017 19:30:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239314#M17175</guid>
      <dc:creator>marcomarta1972</dc:creator>
      <dc:date>2017-08-30T19:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239315#M17176</link>
      <description>Yes, when uploading via the API, the file will be available in the app folder as soon as the upload API call returns.</description>
      <pubDate>Wed, 30 Aug 2017 19:32:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239315#M17176</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-08-30T19:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239366#M17177</link>
      <description>&lt;P&gt;All works fine now!&lt;/P&gt;&lt;P&gt;The file was on application directory,&lt;/P&gt;&lt;P&gt;Now I've change the kind of API to access all my files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 07:24:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239366#M17177</guid>
      <dc:creator>MartaMarco1972</dc:creator>
      <dc:date>2017-08-31T07:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239524#M17178</link>
      <description>&lt;P&gt;How can I send a parameter like file name to a task?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 10:25:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239524#M17178</guid>
      <dc:creator>MartaMarco1972</dc:creator>
      <dc:date>2017-09-01T10:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239579#M17179</link>
      <description>I'm not sure I understand your question. Can you elaborate?</description>
      <pubDate>Fri, 01 Sep 2017 15:50:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239579#M17179</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-09-01T15:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239731#M17180</link>
      <description>In your tutorial you make a tasks with some parameters (dvd,....,....) how can I Call the task? I am unable to send some parameters to the task&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Sep 2017 18:59:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/239731#M17180</guid>
      <dc:creator>marcomarta1972</dc:creator>
      <dc:date>2017-09-02T18:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: using c# for upload text file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/240120#M17181</link>
      <description>There's an example here that defines a task that takes a parameter:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L239" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L239&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And then calls it here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L94" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs#L94&lt;/A&gt;</description>
      <pubDate>Tue, 05 Sep 2017 15:27:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/using-c-for-upload-text-file/m-p/240120#M17181</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-09-05T15:27:32Z</dc:date>
    </item>
  </channel>
</rss>

