# Return Values from uploading Data with FileReference?

**URL:** https://forum.kirupa.com/t/return-values-from-uploading-data-with-filereference/261223
**Category:** flash
**Created:** [May 24, 2008, 2:53pm UTC](https://forum.kirupa.com/t/return-values-from-uploading-data-with-filereference/261223 "2008-05-24T14:53:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Oscar07](https://avatars.discourse-cdn.com/v4/letter/o/d9b06d/32.png) [@Oscar07](https://forum.kirupa.com/u/Oscar07)
#### Post date: [May 24, 2008, 2:53pm UTC](https://forum.kirupa.com/t/return-values-from-uploading-data-with-filereference/261223/1 "2008-05-24T14:53:23Z")

</div>

Hi,

when you send Data with an UrlLoader, you also can receive Data back.  
Is this not possible with FileReference?

For example when you upload a File with FileRefernce to an PHP Script.  
Can you now receive also Data back from this upload?

Thanks in advance

---

<div class="post-metadata">

### Author: ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)
#### Post date: [May 24, 2008, 3:10pm UTC](https://forum.kirupa.com/t/return-values-from-uploading-data-with-filereference/261223/2 "2008-05-24T15:10:27Z")

</div>

Are you looking for DataEvent.UPLOAD\_COMPLETE\_DATA ? It’s dispatched by FileReference instances, and it’s kind of like the older LoadVars.sendAndLoad method, as far as I know.

I don’t think that it’s possible to have access to the uploaded file without having the client download the file from the server, though.

---

<div class="post-metadata">

### Author: ![Oscar07](https://avatars.discourse-cdn.com/v4/letter/o/d9b06d/32.png) [@Oscar07](https://forum.kirupa.com/u/Oscar07)
#### Post date: [May 24, 2008, 3:47pm UTC](https://forum.kirupa.com/t/return-values-from-uploading-data-with-filereference/261223/3 "2008-05-24T15:47:48Z")

</div>

Thanks Krilnon 🙂

Exactly this i was searching for.
