Project

General

Profile

FileTreeTable example, download selection

Added by Ersan Tunckol about 10 years ago

Hi Guys,

I have been looking at the FileTreeTable example, as I need to list contents of a certain folder, that works fine. But the client needs to be able to delete or download the selected files. What would be the best way to do this? Adding a delete and a download button, and iterating through the selection would probably be the easiest. But in the case of download, how can I redirect to the selected file's WFileResource that I will allocate? And, whether it is possible to download multiple files is another question (maybe using setChanged of a single WResource for each file?).

Thanks & Regards,

Erşan