How you're uploadnig files to server: create a form with <INPUT TYPE="FILE" NAME="fname">
Now, script which is executed by submitting this form has $fname variable which contains name of temporary file to which uploaded file has been copied on your server. Now you have just to place it to correct location:
if (!copy($fname, "your_path/upload/filename.ext")) echo("Cannot upload file.");
To download files to user PC you should nothing but creating <A HREF="http://your_server.com/upload/filename.ext" TARGET="_new"> - and now once user presses this link he is asked download or to open this file.