Hi Martin, You can't get the server file name from the fileReference object due too security issues I think.
You can do an easy work around though. What I do is : I upload the file to a temporary folder. After the onComplete event I do a service call (in my case coldfusion cfc) which will handle my file (move,rename ,delete,etc..) and then just sends the server file name back to flash. I am sure there are other ways to do this ofcourse. Yves 2006/4/5, Martin Tremblay <[EMAIL PROTECTED]>: > > Hi, > > I'm uploading an image using FileReference::upload. My php file > which handle the actual file is placing the file in the appropriate > folder and rename the file. > > My question is: How can I retrieve the new name using the > callback provided with the FileReference method ? > > Martin > lvl > > _______________________________________________ > [email protected] > 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 > _______________________________________________ [email protected] 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

