cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get files via .NET

Get files via .NET

inteldroid
New member | Level 2
Go to solution

I know the code and APICODE is working because it does return the user accout correctly, but  for whatever reason I cannot list the directories or files.

Using dbx = New DropboxClient("APICODE")
Dim full = Await dbx.Users.GetCurrentAccountAsync()
Console.WriteLine("{0} - {1}", full.Name.DisplayName, full.Email)
ListBox1.Items.Add(full.Email)
Dim list = Await dbx.Files.ListFolderAsync(String.Empty)


For Each item In list.Entries
 If item.IsFile Then
 Console.WriteLine("F{0,8} {1}", item.AsFile.Size, item.Name)
End If

If item.IsFolder Then
Console.WriteLine("D {0}/", item.Name)

End If


Next
End Using

1 Accepted Solution

Accepted Solutions

inteldroid
New member | Level 2
Go to solution

I figured it out... I had to put the files in a specific APPS folder.

View solution in original post

1 Reply 1

inteldroid
New member | Level 2
Go to solution

I figured it out... I had to put the files in a specific APPS folder.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    inteldroid New member | Level 2
What do Dropbox user levels mean?