Connected to 10.10.10.15, for user ftp
Warning: ftp_put: Opening BINARY mode data connection for /incoming/ftpme.txt. in c:\apache\htdocs\test\testftp.php on line 34
this is the error message I just keep getting when trying to ftp via php. The thing is, it works - I can see the (complete) file in it's proper destination within seconds on the ftp site. However the script trundles on for about a minute after this then spits out the message.
my script:
$conn_id = ftp_connect($ftp_server);
$login_result = ftp_login($conn_id, "$ftp_user_name", "$ftp_user_pass");
$upload = ftp_put($conn_id, "$destination_file", "$source_file", FTP_BINARY);