If you use navigateToURL(), your basically piggy backing on the browser to handle the download.
The File.* is only used if your using Flex to handle the download. -Sean Thayne On Tue, Apr 22, 2014 at 11:57 AM, <[email protected]> wrote: > I'm confused. I'm downloading the file using navigateToURL() that points > to a java servlet to download the file. The user sees the browser open a > popup window to either save the file to a specific folder or choose a > program to open it (in which case the default seems to be to save the file > in the Download folder, on a mac at least). Is there something additional I > should do that uses File.documentsDirectory or > File.applicationStorageDirectory? If so, can you walk me through it? > > ----- Original Message ----- > > From: "Sean Thayne" <[email protected]> > To: [email protected] > Sent: Tuesday, April 22, 2014 10:51:18 AM > Subject: Re: enterprise desktop web app: should it download or email a > file to user? > > Actually, I would think File.applicationStorageDirectory would work best. > Especially with the new Apple sand boxing. > > -Sean Thayne > > > On Tue, Apr 22, 2014 at 11:47 AM, Lee Burrows > <[email protected]>wrote: > > > I would guess that saving to File.documentsDirectory offers best chance > of > > avoiding any enterprise security restrictions > > > > > > On 22/04/2014 18:35, [email protected] wrote: > > > >> Thanks Sean. That's fine -- as long as they can originally download it > to > >> view it. > >> > >> ----- Original Message ----- > >> > >> From: "Sean Thayne" <[email protected]> > >> To: [email protected] > >> Sent: Tuesday, April 22, 2014 10:27:40 AM > >> Subject: Re: enterprise desktop web app: should it download or email a > >> file to user? > >> > >> I know that schools usually have a temp drives, that get cleared on > >> reboot. > >> > >> -Sean Thayne > >> > >> > >> On Tue, Apr 22, 2014 at 10:46 AM, <[email protected]> wrote: > >> > >> My enterprise Flex desktop web app (yet to be released) has a feature > >>> allowing users to download a user guide for the application. > >>> > >>> Since this file gets stored on a user's hard drive (rather than cache > >>> memory), I wonder if anyone ever ran into problems with an enterprise > not > >>> allowing their employees to download a file from the internet to their > >>> hard > >>> drive (for example, the IT department blocks this kind of > functionality)? > >>> > >>> If so, I could change the web app to attaching the file in an e-mail > and > >>> sending it to them instead. > >>> > >>> Wondering if anyone has an opinion one way or the other which way to go > >>> here. > >>> > >>> > >> > > > > -- > > Lee Burrows > > ActionScripter > > > > > >
