# Upload and read in the same time

**URL:** <https://forum.kirupa.com/t/upload-and-read-in-the-same-time/245202>\
**Category:** Uncategorized\
**Created:** [November 27, 2007, 12:53pm UTC](https://forum.kirupa.com/t/upload-and-read-in-the-same-time/245202 "2007-11-27T12:53:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamy](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@dreamy](https://forum.kirupa.com/u/dreamy)\
**Post date:** [November 27, 2007, 12:53pm UTC](https://forum.kirupa.com/t/upload-and-read-in-the-same-time/245202/1 "2007-11-27T12:53:26Z")

</div>

Hello there,

I have an application that uploads a file(picture for ex). This file is converted/resized by php: The idea is the following  
-the just resized file is copied as “yy/mm/dd/hh/mm/ss/ms\_filename.ext”. The just copied file has a unique name with a precision of miliseconds. I need to read this value(not simulate a similar function in flash), because it will differentiate because of server request delay.

How can i read the php generated filename with the FileReference.upload method or similar ?

Any ideas?  
Thank You in advance.
