Discussion:
About FTP proxy.
(too old to reply)
kiddy
2005-12-16 06:44:54 UTC
Permalink
Can I use wininet API to set the ftp proxy?
Reymarx
2006-02-01 18:47:09 UTC
Permalink
Hi,

In the case of a CERN-Based Proxy you'll have to use InternetOpenUrl passing
an Ftp Url and the proxy Information in the call to InternetOpen.

You can find more information here:

http://support.microsoft.com/kb/q166961/

I hope this Helps you
--
Reymarx [MSFT]
Windows- Networking
This posting is provided "AS IS" with no warranties, and confers no rights
Post by kiddy
Can I use wininet API to set the ftp proxy?
Mike Mueller
2006-02-09 13:52:58 UTC
Permalink
Hi - FYI I ran into problems using WININET InternetOpenURL to access a
non-anonymous FTP site (e.g. ftp://username:***@ftp.site/test.txt)
through a CERN proxy (with NTLM or no authorization).

Turns out that readurlftp.exe from
http://support.microsoft.com/?id=216214 doesn't seem to work either.
Looking at TCP traces, WININET was trying to use the ftp site
username:password to log into the proxy.

The solution for me was to use UrlDownloadToFile and
UrlDownloadToCacheFile (URLMON.DLL) instead - MUCH simpler. Am posting
this in case anyone else finds same problem and is desperately googling
for the answer!!!!

To read an FTP folder you can scan the html you get back for links -
this is their suggested solution when using WININET through CERN to
access FTP anyway

http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/moniker/reference/functions/urldownloadtocachefile.asp

Let me know if I got it wrong...
Michael Mueller-Heumann
***@gmail.com

Continue reading on narkive:
Loading...