Need to write a simple download script.
[url removed, login to view] script look like: [url removed, login to view]
Then the script will redirect user to the real download location
[url removed, login to view] script should find the file in a folder and its subfolder
3. the script should check whether a cookie is in the user browser before the download.
No need to do point 3. I have done it.
As for point 1 and 2, the script should search where is the real location of the file and then redirect the broswwer to that loation.