ftp_connect() opens an FTP connection to the specified host.
fsockopen() open an Internet or Unix domain socket connection.
If you want to transfer files, use the file TRANSFER protocol (FTP) functions. If you just want to get responses from servers (to see if they're there, check an email address, whatever) use fsockopen.