Uploading Video

How do you allow a user to upload any kind of video in a Flash website, then compress the dimensions and file size, then store it on the server? I also want to let the person do this with images.

Namely, what languages are required in conjunction with Flash to do this?



Those might help.