# Uploading files to a server with flash 8

**URL:** <https://forum.kirupa.com/t/uploading-files-to-a-server-with-flash-8/164077>\
**Category:** flash\
**Created:** [September 28, 2005, 1:07pm UTC](https://forum.kirupa.com/t/uploading-files-to-a-server-with-flash-8/164077 "2005-09-28T13:07:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![caspercasper](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@caspercasper](https://forum.kirupa.com/u/caspercasper)\
**Post date:** [September 28, 2005, 1:07pm UTC](https://forum.kirupa.com/t/uploading-files-to-a-server-with-flash-8/164077/1 "2005-09-28T13:07:55Z")

</div>

Hi 🙂

I have made a file upload app with flash 8 and [asp.net](http://asp.net) and it runs pefect.

Is it posible to send a variable from the server to the flash movie when it has completed a upload request.

– serverscript

[font=Courier New]’ // upload completed here, write message to user  
Response.Write("&[color=Magenta]sVarFromServer[/color]=some message from server")[/font]

– actionscript

[font=Courier New]//event fires when file upload is complete  
oFileReferenceListener.onComplete = function(file:FileReference):Void {  
trace([color=Magenta]sVarFromServer[/color]);  
}

[/font]
