It looks like your web hosting provider blocks outgoing data connections to the FTP server.
You can try using an active mode (remove the
ftp_pasv call). But it's quite unlikely that they would allow incoming connections (needed for the active mode), if they forbid outgoing connections.
For some background, see my article about network setup needed for passive and active FTP modes - Though nothing you can do about it yourself. You need to contact your provider.