# FileReference.upload tinkering

**URL:** https://forum.kirupa.com/t/filereference-upload-tinkering/223579
**Category:** flash
**Created:** [April 24, 2007, 1:41am UTC](https://forum.kirupa.com/t/filereference-upload-tinkering/223579 "2007-04-24T01:41:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dmerino](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@dmerino](https://forum.kirupa.com/u/dmerino)
#### Post date: [April 24, 2007, 1:41am UTC](https://forum.kirupa.com/t/filereference-upload-tinkering/223579/1 "2007-04-24T01:41:01Z")

</div>

I was wondering if anyone knows how to change the names of the elements sent in the POST method for FileReference.upload().

Currently it sends…  
[LIST]  
[_]A Content-Type element of multipart/form-data  
[_]A Content-Disposition element with a name attribute set to “[COLOR=black]Filedata[/COLOR]” and a filename attribute set to the name of the original file  
[\*]The binary contents of the file[/LIST]I would like to at least change the names of the attributes to fit the framework I have set up already. So basically change “Filedata” to be “upload\_data” … is this possible?
