init ftpclient code