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: 

Ignoring deleted files in the Winforms API

Ignoring deleted files in the Winforms API

davsun55
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

Greg-DB
Dropbox Staff

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
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?