Hi, not a direct answer to your question, but rather a piece of advice from someone who has done a similar system: consider having your scripts assign the name of the file upon upload. I use sequential integers. The reason is that it's safer to use a known-safe filename (a script-assigned one) when you open up a filehandle to write the user's file to your filesystem, rather than the user-assigned filename which may contain nasty characters such as file piping etc.
I then update one text file that serves as an index, so I know what each numeric filename was originally called by the user, and can be used to refer to it.
In reply to Re: Planning a Disk CleanUp Script
by theguvnor
in thread Planning a Disk CleanUp Script
by jerrygarciuh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |