put_request_for_upload if you want using 'PUT' method for file upload, you can using it i did modified from Yii framework