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: 

Ignoring deleted files in the Winforms API

davsun55 New member | Level 2
New member | Level 2

I am using the following code to successfully retrieve all files in a nominated folder:

var lfrLlist = DBClient.Files.ListFolderAsync(DBoxFolder);
foreach (var item in lfrLlist.Result.Entries.Where(i => i.IsFile))

    dostuff
}

However I notice that I am getting all files returned, including deleted files.
There is a .IsDeleted property, but that is false for every file, even though I have double-checked through the browser interface and quite a number are deleted.

How can I ignore all deleted files - or even permanently delete them if that's easier.

Thanks

David

 

1 Reply 1

Re: Ignoring deleted files in the Winforms API

Dropboxer
Dropboxer

Thanks for the report! I just gave this a try myself, and it appears to be working properly for me, so we'll need to look into this for you specifically.

Please open an API ticket with:

  • the version number of the SDK you're using
  • the affected user ID(s)
  • a few sample file paths/names for deleted files that are being returned as not-deleted

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?