ftp_raw()

It sends an arbitrary command to an FTP server

Example

<?php

$ftpId = ftp_connect(‘ftp.phpcodez.com’);

ftp_raw($ftpId, “USER user”);

ftp_raw($ftpId, “PASS pass”);

ftp_quit($ftpId);

?>