This was possible even before AIR with a server side script
which i presume you can have access to as you are already accessing
a server. But if you don't have the ability to use any of the
server side technologies, AIR can now write directly to files.