Fixed bugs in FTP service
Added FTP upload
Added tests for FTP service