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 * ftp.c: FTP input module
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2005 the VideoLAN team * Copyright (C) 2001-2006 the VideoLAN team
* $Id$ * $Id$
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> - original code * Authors: Laurent Aimar <fenrir@via.ecp.fr> - original code
...@@ -264,12 +264,12 @@ static int Open( vlc_object_t *p_this ) ...@@ -264,12 +264,12 @@ static int Open( vlc_object_t *p_this )
p_sys->fd_cmd = -1; p_sys->fd_cmd = -1;
*p_sys->sz_epsv_ip = '\0'; *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 ) if( ( p_sys->fd_cmd = Connect( p_access, p_sys ) ) < 0 )
goto exit_error; goto exit_error;
msg_Info( p_access, "FTP Extended passive mode disabled" );
} }
/* binary mode */ /* binary mode */
if( ftp_SendCommand( p_access, "TYPE I" ) < 0 || if( ftp_SendCommand( p_access, "TYPE I" ) < 0 ||
ftp_ReadCommand( p_access, &i_answer, NULL ) != 2 ) 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