]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ftp.cpp
Now uses wxSocketBase::Error() to see if last IO call failed
[wxWidgets.git] / src / common / ftp.cpp
index b789852c921ac3e92953c85d8169ef433c0057d7..094fdad98bd159dfa371f2d9362ee3fdad8e70f1 100644 (file)
@@ -340,7 +340,7 @@ wxInputStream *wxFTP::GetInputStream(const wxString& path)
     return NULL;
   }
 
-  tmp_str = _T("RETR ") + path;
+  tmp_str = _T("RETR ") + wxURL::ConvertFromURI(path);
   if (!SendCommand(tmp_str, '1'))
     return NULL;