How to delete a file from Dropbox without select in TMSFNCCloudDemoListBox1

Hi!

How to delete a specific file from Dropbox without select it first in TMSFNCCloudDemoListBox1 ?

Waiting your answer...
Thank you!

The listbox contains a reference to a TTMSFNCCloudItem collection item. So you need the reference to delete the item. If you don't want to use the listbox, you'll have to maintain your own list. Before any action is taken, you always need to retrieve the list of files once. Alternatively, if you know the FileName (string) of an item, you can also use this to delete the item directly.

Thank you for your answer,

I already know this, but my question is "How to delete a specific file (i know the name of file) from Dropbox without include selection on TMSFNCCloudDemoListBox1 ?"

Maybe i want too much if i ask you to reply a example?

Thank you!

Call TMSFNCCloudDropBox1.Delete("filename'); which will delete the file from dropbox directly.

Thank you!