I have loaded some local XML files using the HTTPService. Limitation: you
need to know the path of the file. It's like entering a local file URL into
your browser. Maybe this is not supposed to work, or maybe this is not what
you are trying to do...but I post it anyway...just in case.

<mx:HTTPService
  id="xmlProjectData"
   resultFormat="e4x"
   url="file:///c:/Project13.xml <file:///c:\Project13.xml> "
   useProxy="false"/> 

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Wednesday, November 29, 2006 11:54 AM
To: [email protected]
Subject: RE: [flexcoders] Is it possible to upload an xml file from local
filesystem into a variable

 

The Flash Player security sandbox restrictions pretty much prevent access to
any local/client resources, including the file system.  There are ways
around this but they require signficant work.  

 

Is a "projector" like "Zinc" an option?

 

Tracy

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Murdo
Sent: Wednesday, November 29, 2006 10:41 AM
To: [email protected]
Subject: [flexcoders] Is it possible to upload an xml file from local
filesystem into a variable

 

Hi,

I'm trying to replace a .Net web client which zips and xml file and
transfers it a server for analysis via a SOAP webservice. I wanted to
remove dependancy on .Net standalone client and use flex app as
replacment. I can't seem to find a way of loading the local xml file
into a var for compression and base64 encoding to webservice.

Can this be done or are there security restrictions on this?

Many thanks
Murdo

 

Reply via email to