Hi,
I currently have an upload button on one of my administrator page.
Problem is I need to create a function that deletes the oldest uploaded photos.
To do so, I want to use moveFilesToTrash( ) but I need the file URL as an argument.
I can’t find a way to get the list of the file urls of the visitor files, the functions listFiles( ) and listFolders( ) of the MediaManager only list the site files which do not contain the visitor files uploaded through an upload button and the uploadFiles( ) function.
Does anyone have a solution for this please?