What I do is to ask the server first (I use remoting) for a unique ID.
I have a function on the server which creates a record in my database
for this soon to be incoming file. I also use this function to tell
the server other information about the file like its name or other
information the server needs to know.

When I do the upload, I add a parameter to the upload url ?id=123456ABC.

When the file is uploaded, the server then knows what file it is and
what to do with it. Once the upload is done, the flash client can tell
the server to do stuff with the file or reference it via the inital ID
number that was created and associated with the file.

Regards
Hank

On 8/30/06, coderman <[EMAIL PROTECTED]> wrote:
hey all here is a bone for you all:

-Im using file reference file.upload... but, I need to track the upload.
So I tried to generate a random string and rename fr.name .. to bad, its
a read-only property.
I tried to generate a random hash on the server and then send i tback to
the Flash client onComplete. Bad luck, there seems to be no way to send
any data back to Flash onComplete.
Last option: just send some extra field along with the file upload.

When I use HTML i can send a webform with all the fields I want + a
file. Can I do this with Flash as well? Other tactics?
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to