Using jsftp instead of ftp module
Added command-line options and test for accessing ftp file data