2006-06-28, 00:14
hello
i need support for ftps and since the ftp client was recently modified to use libcurl i thought i'd take a shot. the included libcurl.dll is the nonssl one. i replaced it with the dll from the win32 ssl package and made the following changes to "c:\xbmc\xbmc\filesystem\filecurl.cpp" method setcommonoptions()...
g_curlinterface.easy_setopt(m_easyhandle, curlopt_ftp_ssl, curlftpssl_try);
g_curlinterface.easy_setopt(m_easyhandle, curlopt_ftpsslauth, curlftpauth_tls);
g_curlinterface.easy_setopt(m_easyhandle, curlopt_ssl_verifypeer, 0);
g_curlinterface.easy_setopt(m_easyhandle, curlopt_ssl_verifyhost, 0);
i then tried to connect to a tls ftp site and got several unresolved errors. i added libeay32.dll and libssl32.dll since apparently the openssl libs aren't statically linked into libcurl.dll. after trying again i was presented with many other unresolved symbols asking for dll files such as mscvrt.dll, ntdll.dll, etc.
a tcpdump showed however that the auth tls command was issued so it is on the right track.
i looked around for a libcurl.dll that had openssl statically linked but couldn't find any. i was also having many problems trying to compile libcurl from source myself.
does anyone have any advice on how to get libcurl with ssl supported?
-except10n
i need support for ftps and since the ftp client was recently modified to use libcurl i thought i'd take a shot. the included libcurl.dll is the nonssl one. i replaced it with the dll from the win32 ssl package and made the following changes to "c:\xbmc\xbmc\filesystem\filecurl.cpp" method setcommonoptions()...
g_curlinterface.easy_setopt(m_easyhandle, curlopt_ftp_ssl, curlftpssl_try);
g_curlinterface.easy_setopt(m_easyhandle, curlopt_ftpsslauth, curlftpauth_tls);
g_curlinterface.easy_setopt(m_easyhandle, curlopt_ssl_verifypeer, 0);
g_curlinterface.easy_setopt(m_easyhandle, curlopt_ssl_verifyhost, 0);
i then tried to connect to a tls ftp site and got several unresolved errors. i added libeay32.dll and libssl32.dll since apparently the openssl libs aren't statically linked into libcurl.dll. after trying again i was presented with many other unresolved symbols asking for dll files such as mscvrt.dll, ntdll.dll, etc.
a tcpdump showed however that the auth tls command was issued so it is on the right track.
i looked around for a libcurl.dll that had openssl statically linked but couldn't find any. i was also having many problems trying to compile libcurl from source myself.
does anyone have any advice on how to get libcurl with ssl supported?
-except10n