# Access multipart/form-data information

**URL:** <https://community.dreamfactory.com/t/access-multipart-form-data-information/3675>\
**Category:** Server-Side Scripting\
**Created:** [February 24, 2017, 12:59am UTC](https://community.dreamfactory.com/t/access-multipart-form-data-information/3675 "2017-02-24T00:59:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkeith](https://avatars.discourse-cdn.com/v4/letter/g/9f8e36/32.png) [@gkeith](https://community.dreamfactory.com/u/gkeith)\
**Post date:** [February 24, 2017, 12:59am UTC](https://community.dreamfactory.com/t/access-multipart-form-data-information/3675/1 "2017-02-24T00:59:29Z")

</div>

I am trying to create a script to upload a file to another service through DreamFactory. I need to send the file to the other service (Python-Eve) using multipart/form-data, but I would like to check parts of the data first. I have created a custom server-side script (PHP), but cannot seem to access any of the data - $event[‘request’][‘payload’] is an empty array and $event[‘request’][‘content’] is an empty string.

[How to upload a file using custom script?](https://community.dreamfactory.com/t/how-to-upload-a-file-using-custom-script/1228) and [File upload and custom script service](https://community.dreamfactory.com/t/file-upload-and-custom-script-service/2557) seem to suggest that it isn’t possible, is this still the case? It would be really beneficial to be able to upload files to custom scripts
