Upload file via invoke code

@pushkar.singh

I guess you need to keep the request alive using fr.keepalive = true

Cheers