fix ftp

fix ftp download
add ftp upload(no test)