[eluser]smilie[/eluser]
There are many ways to achieve this, depending on how many rights (PHP rights) you have on your server. Among others:
exec (with this one, you can go: ftp, sftp, wget and any other linux shell command script)
fopen
fsockopen
CURL
Just check what you are able to do on the server :-)
Cheers,
Smilie