i am writing an app in adobe flex utilizing air. the app is
meant to be able to be used in both Mac and Windows environments.
When running in Mac, i can both read and write files to the
filesystem with no problem, however in windows, i can read files,
but i get really sporadic writing results. the app filters through
a list of folders grabs a certain file type (file type is the same
in both windows and Mac), reads information out of the file and the
writes that information to a separate location with a different
name. Like i said, in Mac this works perfectly (finds all files
reads, and then writes all new files), in windows, it reads all the
files, but then only writes maybe two of those files and then those
are not even written correctly. any ideas?
If you are on Windows Vista and trying to write something to
"Program Files" or its sub folders, write will not end up in the
right place as "Program Files" is protected. What ever you write
might go to a virtual store location. If that's the case try
writing to app storage folder.
i am saving to the documents folder and it seems to work if i
use the same type of file that was created in osx just copied over
to windows. i have a feeling it has something to do with the way
the original file is created before my app encounters it