var html = '' + '' + '
'; function processRequest() { response.write(html); } // called once by the server for each file being uploaded. It returns the path to which the file is to be saved. function getUploadPath(fileName) { return system.user.homeFolder + "/Upload/Files/" + fileName; }