Thank you, Yishay.

Nicolas Granon



> -----Message d'origine-----
> De : Yishay Weiss [mailto:[email protected]]
> Envoyé : mercredi 4 octobre 2017 10:23
> À : [email protected]; [email protected]; [email protected];
> [email protected]
> Objet : RE: FileReference implementation
> 
> [2] https://github.com/yishayw/Examples
> 
> From: Yishay Weiss<mailto:[email protected]>
> Sent: Wednesday, October 4, 2017 11:22 AM
> To: [email protected]<mailto:[email protected]>;
> [email protected]<mailto:[email protected]>
> Subject: RE: FileReference implementation
> 
> I added an example [1] for loading a file to my examples repo. At some
> point we’ll want to move this repo to Apache but you can browse this
> and other examples here [2] for the time being.
> 
> [1] https://github.com/yishayw/Examples/tree/FileProxy
> 
> From: Harbs<mailto:[email protected]>
> Sent: Tuesday, October 3, 2017 6:20 PM
> To: [email protected]<mailto:[email protected]>;
> [email protected]<mailto:[email protected]>
> Subject: Re: FileReference implementation
> 
> No. You can read a file using the File APIs. In JS, you can get a Blob
> and ArrayBuffer The rough equivalent to ByteArray in Royale is
> BinaryData which wraps ArrayBuffer and deals with the views and you can
> get that from a file.
> 
> We’ve done work on abstracting those APIs. Yishay did the work on that,
> so he’ll have the best answer.
> 
> Harbs
> 
> > On Oct 3, 2017, at 4:33 PM, Idylog - Nicolas Granon
> <[email protected]> wrote:
> >
> > We use FileReference a lot in our Flex apps (data import
> functionalities, export functionalities).
> >
> > With FP, it has been possible (since FP 11 if I am correct) to have
> local read and write access (provided the access is "controlled" by a
> dialog that the user has to validate) from the user's drive to the app
> (and vice versa).
> >
> > As I understand it, there is no provision in JS for app local file
> read access : you have to upload the local file to the HTTP server, and
> then back (download) into the app.
> > However, there is local write access from the app to the local hard
> drive.
> >
> > Is this correct ?
> >
> > Nicolas Granon
> >
> 


Reply via email to