Ultimately, it's going to depend on what you are coding in, but one option is to use mod_plsql (File Upload and Download).