cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Not happy with your Spotify Wrapped? Check out how Kevin on the Dropbox team used Paper to make sure he keeps discovering new music over 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: 
1
Ask
2
Reply and help

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

Re: Ignoring deleted files in the Winforms API

Greg-DB
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
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?