004-FTP client: add upload feature. Fix some mistakes