cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Get files via .NET

New member | Level 2
New member | Level 2

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
Highlighted

Re: Get files via .NET

New member | Level 2
New member | Level 2

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

View solution in original post

1 Reply 1
Highlighted

Re: Get files via .NET

New member | Level 2
New member | Level 2

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

View solution in original post

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?