I have problem in printing FTP status with php... I would like to ask how to print the error message if there is a FTP error? Thank you !🙂
many of the FTP function return FALSE on failure which makes it easy to trap errors:
$conn_id = @ftp_connect('ftp.example.com'); if (!$conn_id) {echo 'error connecting to ftp.example.com';}
Thank you!
I would like to ask about this:
"PHP Warning: ftp_put(): Login successful"
What is the warning about..