I have trouble to upload file with FileReference.upload() because of some special requirement from server side. Is it possible to read FileReference data into ByteArray so I could manually upload them? Or it totally impossible because of security sandbox?

Thanks,
George