We help IT Professionals succeed at work.

Save changes to uploaded file

I have a web application that allows students to upload assignments.  A teacher can open it but is there anyway to save changes to the file and then save it back to the server?
Comment
Watch Question

Commented:
he will have to upload fixed version of the file

if it's only text document you can give him a screen to edit it and he can post it back
Bob SchneiderCo-Owner

Author

Commented:
Can I do this "behind the scenes"?  For instance, to have a "save" button, which is really a submit button, then have it delete the original file and upload the new file to the server under the same name?
Commented:
it can't be done thew to browsers security policy.
user must select file to upload
you make it more
http://valums.com/ajax-upload/

one other possibility is to use emails
person gets email with the file attached(you need to change the name of the file to be able to identify it later)
person edit it and send it back
prepare email watcher on the inbox and update the email message attachment file in the server by the file name