Complete code for FTPClient and call through command line