Upload and Download Files on Wordpress through PHP
===

i'm using wordpress source code to develop a website/blog. I created a form where plus the inputs with data that i insert on the database i have a upload file section. It's here i need suggestions from you people. I would like to have a folder inside my wordpress code and upload the file to that place when processing the data of the form.

To download the files uploaded, would be great to have another section in the wordpress panel (like "media") where the user could go and downloaded the files uploaded previously.

That's what is in my mind but i don't know very well how to do it. So if you guys could help me giving me some lights that would be great. If you think you have better ideas on how to implement this i would like to hear them.

So, resuming, this is what i pretend:
-Upload files on submiting a form to a folder created by me that is inside the template/website code folder;
-List the upload files on a categorie in the wordpress panel so that the administrators can download the files from there;