Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/05/2008, 09:17
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: ayuda con pagina de funciones ftp

Cambia esta función así:
Código PHP:
function ConectarFTP(){
//Permite conectarse al Servidor FTP
$id_ftp=ftp_connect(SERVER,PORT) or die( "no se pudo conectar" ); //Obtiene un manejador del Servidor FTP
ftp_login($id_ftp,USER,PASSWORD); //Se loguea al Servidor FTP
ftp_pasv($id_ftp,MODO); //Establece el modo de conexión
return $id_ftp//Devuelve el manejador a la función

Así podrás ver en que parte no se pudo conectar.

Saludos.