|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IE and Proxiesexpanding it out for comment: I have the below script setup in my lab to sort out proxies, but I've a problem with FTP. The script is picked up in the client by wpad If I force proxies manually on the client then I can happily reach ftp sites (ftp://ftp.microsoft.com has been my test), proving that ftp via the proxy is ok. But if I switch back to wpad, then normal http browsing works ok, but external ftp fails. My clients IP is 172.19.242.29, which is private and should fall into the isInNet check and the ftp request should get sent via the proxy. But for some reason it doesn't and the client is trying to connect direct (which fails because of the private intranet IP range) function FindProxyForURL(url,host) { if (dnsDomainLevels(host)==0) { return "DIRECT"; } if (url.substring(0, 4) == "ftp:") { if (isInNet(myIpAddress(),"172.19.0.0","255.255.0.0")) { return "PROXY global.proxy.lucent.com:8000;" ; } else { return "DIRECT"; } } if (dnsDomainIs(host, ".lucent.com") || isInNet(host,"172.19.0.0","255.255.0.0") || dnsDomainIs(host," ..bell-labs.com")) { return "DIRECT" ; } else { return "PROXY global.proxy.lucent.com:8000;" ; } } Wrong group. Ask them in one of the scripting groups.
-- Show quoteHide quoteRegards, Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft Certified Professional Microsoft MVP [Windows] http://www.microsoft.com/protect "Adrian Marsh (NNTP)" wrote: |I posted this onto the appropriate IE groups but got no reply, and am | expanding it out for comment: | | | | I have the below script setup in my lab to sort out proxies, but I've a | problem with FTP. The script is picked up in the client by wpad | | If I force proxies manually on the client then I can happily reach ftp | sites (ftp://ftp.microsoft.com has been my test), proving that ftp via | the proxy is ok. But if I switch back to wpad, then normal http | browsing works ok, but external ftp fails. | | My clients IP is 172.19.242.29, which is private and should fall into | the isInNet check and the ftp request should get sent via the proxy. But | for some reason it doesn't and the client is trying to connect direct | (which fails because of the private intranet IP range) | | | | function FindProxyForURL(url,host) | { | if (dnsDomainLevels(host)==0) { | return "DIRECT"; | } | | if (url.substring(0, 4) == "ftp:") { | | if (isInNet(myIpAddress(),"172.19.0.0","255.255.0.0")) { | return "PROXY global.proxy.lucent.com:8000;" ; | } | else { | return "DIRECT"; | } | } | | | if (dnsDomainIs(host, ".lucent.com") || | isInNet(host,"172.19.0.0","255.255.0.0") || dnsDomainIs(host," | .bell-labs.com")) { | return "DIRECT" ; | } | else { | return "PROXY global.proxy.lucent.com:8000;" ; | } | | }
Any recommended ftp packages to automatically download a file?
Permission to home folder Creating shortcut without "Shortcut to" name ansi.sys for DOS text games Problem after installing W2003 SP1 Problems with accessing network resources. win 2000 server boot disk problem DHCP Mac address Lockdown Windows Explorer managing htm/html files problems renaming sgl file |
|||||||||||||||||||||||