Hi everybody

Here's my story

I've developed a web app that generates documents (like word files, opendocument, excel etc) let's the user download it to their computer, edit it, and then upload the modified version, where it would be stored in a database.

I'm trying to find a way to let the user edit the file on-the-fly, and when saving it automatically update the database.

That is, I'm looking for a way to automate the download-open-edit-save-upload cycle.

Ideally, when clicking on a link, the user would choose to open the file with the apropiate application, and when saving it the database would be updated.

So, any ideas???

PS: I'd like to find a solution compatible with IE and FF.