Added option to set port number for FTP uploads.