ftp_put problem

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
webatzman
Forum Newbie
Posts: 4
Joined: Thu Oct 03, 2002 4:45 pm
Location: mexico
Contact:

ftp_put problem

Post 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??
Post Reply