Commit 7092d93f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Tell user we disabled EPSV mode _before_ reconnecting so (s)he doesn't get confused

parent c6371fc4
/*****************************************************************************
* ftp.c: FTP input module
*****************************************************************************
* Copyright (C) 2001-2005 the VideoLAN team
* Copyright (C) 2001-2006 the VideoLAN team
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr> - original code
......@@ -264,12 +264,12 @@ static int Open( vlc_object_t *p_this )
p_sys->fd_cmd = -1;
*p_sys->sz_epsv_ip = '\0';
msg_Info( p_access, "FTP Extended passive mode disabled" );
if( ( p_sys->fd_cmd = Connect( p_access, p_sys ) ) < 0 )
goto exit_error;
msg_Info( p_access, "FTP Extended passive mode disabled" );
}
/* binary mode */
if( ftp_SendCommand( p_access, "TYPE I" ) < 0 ||
ftp_ReadCommand( p_access, &i_answer, NULL ) != 2 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment