Working script for FTP
could work out shell dependencies