Hope someone can help here!
I have written a program to download files (all types not just txt) via the net using Inet. But have problems where some of my clients have a firewall, this means the Inet cannot get access without supplying user name and password. Inet's username & password property relate to the host server so do not seem applicable. Anyone know how to solve this? Is it a smple case of adding something at the beginning of the URL string? If so what would be the format?
Also, some clients firewalls use a proxy server, again requiring username and password. Any ideas?
Below is my code so far, but I think I may need to change it to the GetChunk method which I am not familiar with, but have found some good examples in VBforums.
Thanks
Code:RemVersionURL = "http://www.myweb.co.uk/Software/" b() = InetUpdate.OpenURL(RemVersionURL & "RemVersion.exe", 1) FileNum = FreeFile Open App.Path & "\Data\" & "RemVersion.exe" For Binary Access Write As #FileNum Put #FileNum, , b() Close #FileNum


Reply With Quote