Quote:
Originally posted by Sebastian
doesn't seem to be working.. when i call a file it downloads a null file. hmm.
what about if you have a directory with your files called files but also have subdirectories with other files. how would you call the files in the sub directory, if at all possible?
|
Doesn't seem to be working - Make sure you changed the path in the configuartion properly and that the file that you're ttempting to download exists.
Directories - It's possible, but you have to keep in mind of some things. For security purposes the filename goes througha r egular expression check, so someone doesn't go to download?file=/etc/passwd or the lik. It is possible to do folders too, but it makes the whole file parameter validation a whole lot more tedious.