2 Replies Latest reply on Jul 16, 2010 5:43 PM by chris.campbell

    Downloading files to filesystem

    abeall Level 3
      My understanding of file transfers from AIR is a little shaky. I'm familiar with FileReference in the context of the web player, but that is too limited for what I need.

      My understanding is that with the File class, you can point to a file on the filesystem and call upload() without having to prompt the user with a file dialog. I was not able to determine this from the documentation, but found some answers online.

      However I can't find any answers online for the opposite: can you download a file from a server to the filesystem without prompting the user with a save dialog? How?

      Do I simply resolvePath() to a desired location and then call download()?