title: AS3 FTP Programming and the Socket and ByteArray Classes
body: <p>Sorry for the subject line sounding like an even nerdier Harry Potter title.</p>
  
  <p>I'm trying to use AS3's Socket class to write a simple FTP program to export as an AIR app in Flex Builder 3.  I'm using an FTP server on my local network to test the program.  I can successfully connect to the server (the easy part) but I can't send any commands.  I'm pretty sure that you have to use the ByteArray class to send these commands but there's some crucial piece of information that I'm missing apparently.  Does anyone know how to do this?  Thanks!
  Dave</p>