Hi Matt,
I am developing application with Flex 2 and I am having problem with
FileReference.upload() using Mozilla Firefox too. I use form
authentication which unauthenticated users will be redirect to a login
HTML page. After login to the application, IE user can upload file
successfully, but not when using Mozilla Firefox.
I tried to investigate by alerting the data event text for the upload
completed handler:-
private function uploadCompleteHandler(event:DataEvent):void
{
Alert.show("Upload completed, text : " + event.text);
}
The login page is alerted, which means the login page is returned in
the event.text asking for authentication. It seems that the session
info is not sent in the upload HTTP request. However,
FileReference.download() has no authentication problem at both IE and
Mozilla Firefox.
Is this a bug in Mozilla Firefox Flash Player plugin? The flash
player version I am using is 9.0.47.0. Is there any fixed or
workaround for this?
Thanks in advance,
Best Regards,
Chee Seng
--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> How is your crossdomain file set up? I see one bug for HTTPS upload
that was not reproducible and another that we fixed recently when a
default crossdomain file didn't seem to work (fix should be available
in a nightly build of the SDK).
>
>
>
> Matt
>
>
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Dimitrios Gianninas
> Sent: Monday, July 23, 2007 10:10 AM
> To: [email protected]
> Subject: [flexcoders] FW: FileReference.upload()
>
>
>
>
> Forwarding...
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
<mailto:flexcoders-owner%40yahoogroups.com>
[mailto:[EMAIL PROTECTED]
<mailto:flexcoders-owner%40yahoogroups.com> ] On Behalf Of Jus
> Sent: Monday, July 23, 2007 12:07 PM
> To: [EMAIL PROTECTED]
<mailto:flexcoders-owner%40yahoogroups.com>
> Subject: Re: FileReference.upload()
>
> We really need action on this issue. There are posts on various
forums about this issue from 2005 / Flash Player 8.
>
> Not sure if it's an Adobe Flash or Mozilla Firefox issue, but from
what I can tell it hasn't been acknowledged as an official bug by
either organisation.
>
> That is alarming for someone like me that is looking at using Flex
for developing a CMS app that needs to be accessible via HTTPS (and a
core function of the app is uploading content).
>
> If anyone has an update on this issue, or if someone from Adobe
reads this, can you please post an update on the status of this bug.
>
> Thanks
>
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Sastry" <sastrykvp@> wrote:
> >
> > Hi Coders,
> >
> > 1.Did anone got the FileReference.upload() work on Mozilla and HTTPS?
> >
> > I need to upload an Image to the server(Tomcat). On the server side I
> > am using Apache Commons FileUpload to save it ti the DB. We open only
> > HTTPS port on the server.
> >
> > I coded using FileReference and also removed the servlet on the
server
> > side from Authentication. It works fine on IE. But somehow breaks on
> > Mozilla. Somehow the request itself doesn't go to the server. Please
> > help me.....
> >
> > 2.Is there any alternative to FileReference?
> >
> > Thanks in Advance,
> > Sastry
> >
>
> --
> WARNING
> -------
> This electronic message and its attachments may contain
confidential, proprietary or legally privileged information, which is
solely for the use of the intended recipient. No privilege or other
rights are waived by any unintended transmission or unauthorized
retransmission of this message. If you are not the intended recipient
of this message, or if you have received it in error, you should
immediately stop reading this message and delete it and all
attachments from your system. The reading, distribution, copying or
other use of this message or its attachments by unintended recipients
is unauthorized and may be unlawful. If you have received this e-mail
in error, please notify the sender.
>
> AVIS IMPORTANT
> --------------
> Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés
destinés au seul usage du destinataire visé. L'expéditeur original ne
renonce à aucun privilège ou à aucun autre droit si le présent message
a été transmis involontairement ou s'il est retransmis sans son
autorisation. Si vous n'êtes pas le destinataire visé du présent
message ou si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
jointes, de votre système. La lecture, la distribution, la copie ou
tout autre usage du présent message ou de ses pièces jointes par des
personnes autres que le destinataire visé ne sont pas autorisés et
pourraient être illégaux. Si vous avez reçu ce courrier électronique
par erreur, veuillez en aviser l'expéditeur.
>