Re: ftp_fput

From: Date: Thu, 08 Feb 2001 23:56:55 +0000
Subject: Re: ftp_fput
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38842@lists.php.net to get a copy of this message
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."" <mdiaz@tecnopro.net> wrote in message news:008301c09225$4ce07e80$6b39a8c0@linuxtohogar.net... 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

« previous php.general (#38842) next »