Hi everyone i need to create application for uploading files and download it from server In my case i need to delete file uploaded after specific time.
Example:
if am uploaded File-A i need it to be available in server 2 hours and deleted from server.
Use soft deletes on the table where you store the files and use a cronjob to delete the actual file.