i am trying to use this to ftp the file to another server but i dont get any luck
<?
$file1 = $dir.$filename; // filename located on the directory
$config = "/home/bizdev/_data/radio/login.cfg"; // config assignment where the hostname, username and password
$dataDir = "/_data/"; // directory to store file
system("ncftpput -f $config -DD $dataDir $file1");
echo("ncftpput -f $config -DD $dataDir $file1");
?>
help me with this pls i dont know what to do anymore.