My app is working with hi-res images stored on LAN volume. The paths to these images along with previews are stored in database. I need to be able to access these hi-res images from Mac and Win - therefore I need to have platform independent paths stored in the database. As I see it now I will have to ask user on Win to enter the letter on which the LAN volume is mapped and to ask user on Mac to enter the name of the volume on which the hi-res images are stored.
(The difference in slashes and backslahes can be solved easily.) --- In [email protected], Jeffry Houser <[EMAIL PROTECTED]> wrote: > > > After reading up on Uniform Naming Convention in Wikipedia (and some > google links) it appears that Windows VS UNIX based use different > slashes in the path names anyway, which would appear to defeat the > purpose. Am I missing something? > > In a situation where you already have a "handle" to the file, what > benefit does having a UNC path give you over having an OS specific path? > > zdenekmikan wrote: > > > > > > But again, the operating system specific path is not the UNC path... > > > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com>, > > Jeffry Houser <jeff@> wrote: > > > > > > > > > Once you get a handle to the file, via the File Class, you can use > > > nativePath property to find an operating system specific path to the > > file: > > > > > > http://livedocs.adobe.com/apollo/1.0/aslr/flash/filesystem/File.html > > <http://livedocs.adobe.com/apollo/1.0/aslr/flash/filesystem/File.html> > > > > > > However, based on previous posts in this thread I was under the > > > impression this would not work for you. > > > > > > zdenekmikan wrote: > > > > > > > > > > > > Yes, it is the internal application, and I am just looking for that > > > > better solution - how to get UNC paths from File > browseForOpen > > method. > > > > > > > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> > > <mailto:flexcoders%40yahoogroups.com>, > > > > Tom Chiverton <tom.chiverton@> > > > > wrote: > > > > > > > > > > On Monday 14 Apr 2008, zdenekmikan wrote: > > > > > > on PC. To be able to get access to these files from Mac AIR > > app I need > > > > > > the name of server which is mapped to this O: letter. And to > > be able > > > > > > to access files uploaded from Mac on PC I need to know the > > letter on > > > > > > which the server with saved name is mapped on PC. > > > > > > > > > > I'm not sure I want an AIR app reading those sort of details of my > > > > internal > > > > > network. > > > > > If this is an internal app (sounds like it) there is probably a > > better > > > > > solution (like common mount points, or using UNC paths directly > > with > > > > no drive > > > > > letter). > > > > > > > > > > -- > > > > > Tom Chiverton > > > > > Helping to appropriately streamline wireless technologies > > > > > on: http://thefalken.livejournal.com > > <http://thefalken.livejournal.com> > > <http://thefalken.livejournal.com <http://thefalken.livejournal.com>> > > > > > > > > > > **************************************************** > > > > > > > > > > This email is sent for and on behalf of Halliwells LLP. > > > > > > > > > > Halliwells LLP is a limited liability partnership registered in > > > > England and Wales under registered number OC307980 whose registered > > > > office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, > > > > Manchester, M3 3EB. A list of members is available for inspection at > > > > the registered office. Any reference to a partner in relation to > > > > Halliwells LLP means a member of Halliwells LLP. Regulated by The > > > > Solicitors Regulation Authority. > > > > > > > > > > CONFIDENTIALITY > > > > > > > > > > This email is intended only for the use of the addressee named > > above > > > > and may be confidential or legally privileged. If you are not the > > > > addressee you must not read it and must not use any information > > > > contained in nor copy it nor inform any person other than Halliwells > > > > LLP or the addressee of its existence or contents. If you have > > > > received this email in error please delete it and notify Halliwells > > > > LLP IT Department on 0870 365 2500. > > > > > > > > > > For more information about Halliwells LLP visit www.halliwells.com. > > > > > > > > > > > > > > > > > > > -- > > > Jeffry Houser > > > Flex, ColdFusion, AIR > > > AIM: Reboog711 | Phone: 1-203-379-0773 > > > -- > > > Adobe Community Expert > > > <http://www.adobe.com/communities/experts/members/JeffryHouser.html > > <http://www.adobe.com/communities/experts/members/JeffryHouser.html>> > > > My Company: <http://www.dot-com-it.com <http://www.dot-com-it.com>> > > > My Podcast: <http://www.theflexshow.com <http://www.theflexshow.com>> > > > My Blog: <http://www.jeffryhouser.com <http://www.jeffryhouser.com>> > > > > > > > > > -- > Jeffry Houser > Flex, ColdFusion, AIR > AIM: Reboog711 | Phone: 1-203-379-0773 > -- > Adobe Community Expert > <http://www.adobe.com/communities/experts/members/JeffryHouser.html> > My Company: <http://www.dot-com-it.com> > My Podcast: <http://www.theflexshow.com> > My Blog: <http://www.jeffryhouser.com> >

