Can this be done from other applications? You might be able to use AIR and a Native Extension to do it.
It's a flex application.i am using below code
//var fileRef:FileReference = new FileReference();
Is ther any way to set mime type.
I believe the URLRequest takes a contentType