Hi, I'm writing an AIR app that needs to automatically upload
an XML file (which I know the name of) to my server. Can I do it
without browsing? Needs to be automatic (without user finding or
selecting file) because my client doesn't want to manage that.
Also, I'm developing it in Flash, not Flex.
Mjr81 is correct that you can do this via the File API, and
that it's accessible from Flash. However, there is no need to use
the applicationDirectory. Uploading will work with any readable
file, regardless of its location. (Since files in the
applicationDirectory are not writable, it's all of those other
files that are usually more interesting to upload.)