Start adding options for ftp.
Fix some bugs. Update CLI parser.