Re: [Flashcoders] File upload : getting Flash to know the new name

2006-08-29 Thread John VanHorn
what you can do is have a script or remoting method that you can call that will generate a file name for you. you can then pass that string to the upload script. On 8/25/06, Serge Jespers [EMAIL PROTECTED] wrote: Hey guys, I'm doing a fileUpload in this project and in my PHP script, I rename

RE: [Flashcoders] File upload : getting Flash to know the new name

2006-08-29 Thread hank williams
The way that flash file upload works you really need to think about it a little differently. The way I do it is to send a command to the server *before* I do the upload, and I create a record for the upload in my database. This new ID comes back to flash, and when I do the upload, I add the id

RE: [Flashcoders] File upload : getting Flash to know the new name

2006-08-29 Thread Bernard Visscher
: zaterdag 26 augustus 2006 0:48 Aan: Flashcoders mailing list Onderwerp: Re: [Flashcoders] File upload : getting Flash to know the new name as far as I've seen there's no way to return any values from a file upload. There was something I saw where you could return different HTTP header

[Flashcoders] File upload : getting Flash to know the new name

2006-08-25 Thread Serge Jespers
Hey guys, I'm doing a fileUpload in this project and in my PHP script, I rename the file (make an MD5 from it). I was just wondering how I can get Flash to understand this new filename... Is this possible at all? Thanks for your fast responses ;-) Serge

Re: [Flashcoders] File upload : getting Flash to know the new name

2006-08-25 Thread Jeroen Beckers
Hi Serge, Maybe store the new name into the $_SESSION and request it when the onComplete event is dispatched? Or am I mis-understanding the situation? Greets, Jeroen Serge Jespers wrote: Hey guys, I'm doing a fileUpload in this project and in my PHP script, I rename the file (make an MD5

Re: [Flashcoders] File upload : getting Flash to know the new name

2006-08-25 Thread Serge Jespers
Yeah... I see where you're going with that... Can also read the value from my database but I thought it must have been possible to have my upload.php return that new name to Flash. That would have made more sense, but I guess that's not possible then...? S Hi Serge, Maybe store the

Re: [Flashcoders] File upload : getting Flash to know the new name

2006-08-25 Thread Rich Rodecker
as far as I've seen there's no way to return any values from a file upload. There was something I saw where you could return different HTTP header codes back to flash to get some sort of control over what was sent back, but even that still wouldnt send back any data. jeroen's suggestion might