I need a download script, say users come to my site. There is a file they have an option to download. When they click the download button they can download the file (Its a PDF file).
Once that file is download, the script needs to move to the next file. All the files will be in the same folder, (named [url removed, login to view], [url removed, login to view], ect.)
So, basically the file can only be downloaded once, then its deleted (or the script moves to the next file).
Once all files are downloaded (none left or it runs out of files in the folder) the script will display a message "Sorry, no files left"
I can either add new files to the folder (picking up where I left off ([url removed, login to view], [url removed, login to view], ect.) then the script will continue working again.
Thats it, really easy. No need to design real fancy. Just need the basics.