cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know all about tools for creatives that work seamlessly with Dropbox, like Adobe? Well, check it out right 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

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
Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

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