But why? I can't see any good reason...why not using the sending of
the data as the 'check'?

Or is it to save bandwidth maybe? If it gets a 404 from the script, it
won't bother uploading the data?

But webbrowsers don't do this (like uploading from a HTML Form), so I
dunno why they decided to do this in flash. I've seen this question
asked a dozen times on this list now. It should be put in the help
files for FileReference.upload().

-David R

On 1/15/06, Lanny McNie <[EMAIL PROTECTED]> wrote:
> This isn't a bug.  FileReference on the PC does a "check". where it hits the
> script to see if it exists, and then sends the data in the 2nd request.
>
> On 1/15/06, Sam Wootton <[EMAIL PROTECTED]> wrote:
> >
> > Cool, thanks for that - worked great.
> >
> >
> > On 15/01/06, David Rorex <[EMAIL PROTECTED]> wrote:
> > >
> > > I have the same problem, and others have reported it as well. The
> > > workaround, is in php to check the filename of the uploaded file. The
> > > first time it is called, the filename will be blank or null, so just
> > > disregard that request.
> > >
> > > -David R
> > >
> > > On 1/15/06, Sam Wootton <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I am using the FileReference class to upload a file - everything works
> > > > great, apart form the fact that my PHP script is being called twice
> > from
> > > > Flash.
> > > >
> > > > Anyone know how to solve this?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to