Just use the UploadFileInfo client action, and supply the upload widget id.
You will get the file mime-type and file size in bytes.