hey,
Im trying to write a script that downloads all the files in a folder. I sucessfully connect to the ftp site, but having problem on the download part. Im using "ftp_get" function for downloading. not sure whats wrong, or even not too sure how to use the function.
here is part of my code:
$download = ftp_get(ftp $login_result, string $local_file, string $remote_file, FTP_BINARY);
if(!$download){
echo "the download have failed!!!";
}
can somebody give me any tip?
Rooin.