I've no idea what's wrong with this, and I'm a little tired to try and look
into it, but omit any username / password / server info from anything you
post anywhere that's accessible publicly! ;)
James.
""Marisol Díaz E."" <[EMAIL PROTECTED]> wrote in message
008301c09225$4ce07e80$[EMAIL PROTECTED]">news:008301c09225$4ce07e80$[EMAIL PROTECTED]...
Hi
Please help me
I don't knowk that is wrong, in this code, for ftp_fput
Don't copy the archive, when copy the archive , this has other extension,
and the size is 0kb.
<?
$fp = ftp_connect('192.168.57.2', 21);
$con = ftp_login($fp, "mdiaz", "root1997");
$destino="public_html/abyayala/ftp/ftp";
$desti=ftp_chdir($fp,$destino);
$archivo="C:\\abm\\Abm.gdb";
$fpr = fopen ($archivo, "a+");
$subir=ftp_fput($fp,$archivo,$fpr,FTP_BINARY);
fclose($fpr);
ftp_quit($fp);
?>
Thanks.
Marisol Díaz E.
Marisol Díaz E.
Gerente de Aplicaciones Internet
Tecnopro Cía. Ltda. www.tecnopro.net
Pinta 236 y Rabida Edf. Alcatel of. 301
(593-2)508-722
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]