From c2074367fac9e95a4c19dddafbff9a536ba0a505 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 8 Aug 2007 23:34:14 +0000 Subject: [PATCH] remove extra space which confuses some servers (at least wu-ftpd 2.6.2) from interpreting the PORT command correctly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/ftp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index c9934c1bb3..675f9eb121 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -685,7 +685,7 @@ wxSocketBase *wxFTP::GetActivePort() // addresses because the addrNew has an IP of "0.0.0.0", so we need the // value in addrLocal wxString port = GetPortCmdArgument(addrLocal, addrNew); - if ( !DoSimpleCommand(_T("PORT "), port) ) + if ( !DoSimpleCommand(_T("PORT"), port) ) { m_lastError = wxPROTO_PROTERR; delete sockSrv;