basic rolling-in of FTP session. Needs work to clean up and modernise