Set passive mode to true for FTP deploy and minor coderefactor