Thanks for your suggestions! I'm most interested in the PHP FTP library. Just wasn't aware of its existence. Gave it a little try already and it seems to work like a charm. Very easy to use, and probably the fastest of the three suggestions too, right?
Moreover, I forgot to mention the connection needs to be secure. Seems like ftp_ssl_connect() will come in really handy then.