Saving data to web server

Hello,

I have the following script that prompts the user to save a vcs file to there computer.

Instead, I would like to save the file to the web server so I can do some server side things with it.

http://pastie.caboo.se/73322

Thanks!