Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Nov : FtpFindFirstFile fails when using McAfee firewall.
| Subject: | FtpFindFirstFile fails when using McAfee firewall. |
| Posted by: | "Gerben Abbink" (no.ma..@no.mail) |
| Date: | Mon, 13 Nov 2006 11:31:44 |
Hi,
With McAfee firewall disabled, FtpFindFirstFile works fine. When i enable
the firewall, FtpFindFirstFile waits for a long time (a few minutes) and
returns with 12002 - The request has timed out. I gave my program "Full
Access" in McAfee's SecurityCenter.
The application calls:
InternetOpen, InternetConnect, and then FtpFindFirstFile with parameters
INTERNET_FLAG_NO_CACHE_WRITE or INTERNET_FLAG_RELOAD.
Other applications (such as Explorer and Internet Explorer) still can access
the FTP server when the firewall is enabled, while other applications
(MSWord) fail.
Any ideas why? Has it got something to do with passive and active mode? If
so, where can i find more information?
thanks,
- Gerben