Question
fileReference uploading in Flash 8
I am having trouble here.
I upload a file using flash and coldfusion, and if the file is made unique in the coldfusion script, flash will receive the image back that was the original file, not unique. So lets say I upload an image of a mountain named "mountain.jpg". I go and upload another mountain named "mountain.jpg" and it renames it to "mountain1.jpg" on the server. When the URL is given back to flash, it gives "mountain.jpg", so you're seeing the wrong file. If this application was huge, like myspace or something, you can understand how many problems it would have. Is there any way to send the new file back to flash? I know flash remoting in depth and could save info to a dba and take it out later from flash. I'm just trying to figure out the most effecient way of doing this.
Thanks,
Sam
I upload a file using flash and coldfusion, and if the file is made unique in the coldfusion script, flash will receive the image back that was the original file, not unique. So lets say I upload an image of a mountain named "mountain.jpg". I go and upload another mountain named "mountain.jpg" and it renames it to "mountain1.jpg" on the server. When the URL is given back to flash, it gives "mountain.jpg", so you're seeing the wrong file. If this application was huge, like myspace or something, you can understand how many problems it would have. Is there any way to send the new file back to flash? I know flash remoting in depth and could save info to a dba and take it out later from flash. I'm just trying to figure out the most effecient way of doing this.
Thanks,
Sam