Page 1 of 1

ftp_put problem

Posted: Mon Dec 16, 2002 5:23 pm
by webatzman
Hi

I have this code

if(ftp_put($FtpConn,$directorio2,$tok1,FTP_BINARY)){
echo "Imposible cargar el fichero IMG1";
exit;
}

$directorio2 is server directory
$tok1 is file name

and the HTML page generate

Warning: ftp_put: Opening BINARY mode data connection for XXvideo_01.jpg in /var/www/html/jvc/admin/categoria.php on line 164

The file is in the server but it size is ( 0 mb )
¿What happen here??

any idea??