| Forum Home > Request New Features > Getbhavcopy.exe.config: Pl's add - 1) proxy address : port, 2) user name, 3) password | ||
|---|---|---|
|
RamBhole Member Posts: 6 |
Dear Hemen, Could you please add following proxy setting in your "Getbhavcopy.exe.config" file so that we can use your programe from our offices. 1) proxy address : port 2) user name (valid proxy user name) 3) password (valid proxy user password) Regards, RAM | |
|
-- Regards, RAM
| ||
|
Hemen Site Owner Posts: 426 |
Hi, The proxy configuration (i.e. server address, port , authentication information) is different for different users depending on the setting in the company. In the getbhavcop.exe.config, i have set it to use System proxy settings. You can set the proxy setting in Internet Explorer and Getbhavcopy will honour that. Try it and let me know if that does not work. I have no way of testing that at my place. | |
|
-- Thanks and Regards, New Blog Post: Getbhavcopy version 2.1.0 released NSE and BSE Historical data in Metastock format
| ||
|
RamBhole Member Posts: 6 |
Dear Hemen, I have checked in my office enviornment, but it is not working. I don't know why. is it not possible to set these details within the config file itself. It will be even better if you add these facility under a proxt setting tab in your application itself just like we set the BSE and NSE path and download options. Hope you will think about it. | |
|
-- Regards, RAM
| ||
|
Hemen Site Owner Posts: 426 |
Are you able to access NSE and BSE sites using internet explorer in your office once you make the proxy settings ? | |
| ||
|
RamBhole Member Posts: 6 |
Dear Hemen, I have made few changes in your proxy config file (without your permission) and now it is working fine at me end... both under proxy and without proxy env. Please have a look into the following code: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.net> <settings> <httpWebRequest useUnsafeHeaderParsing="true"/> </settings> <defaultProxy enabled="true" useDefaultCredentials="true"> <proxy usesystemdefault="true" bypassonlocal="true"/> </defaultProxy> </system.net> </configuration> | |
|
-- Regards, RAM
| ||
|
Hemen Site Owner Posts: 426 |
No issues. Good to know that you got it working, since I did not have any good test environment. Thanks for sharing your findings as it may help others facing the same issue. | |
|
-- Thanks and Regards, New Blog Post: Getbhavcopy version 2.1.0 released NSE and BSE Historical data in Metastock format
| ||
|
getzy Member Posts: 4 |
Hi, I tried updating these details, but still it comes up with the same error (407) proxy authentication required. Is there a way of hard coding the username and password into this configuration file.?
Thanks, | |
| ||
|
Hemen Site Owner Posts: 426 |
Did you try storing the username and password in Internet Explorer | |
|
-- Thanks and Regards, New Blog Post: Getbhavcopy version 2.1.0 released NSE and BSE Historical data in Metastock format
| ||
|
getzy Member Posts: 4 |
Yes, its already stored and whenever I try opening a new webpage, it comes up with the proxy authentication dialog box with the values filled in, and all I need to do is to click OK and it browses. And please note that the office proxy is not using NTLM authentication. | |
| ||
|
CHIRAG Member Posts: 2 | hi hemen, i am very thankful to you because you have developed such an excellent software..... i can only connect through internet by using some particular gateway i.e. i have to add oone more address ahead of the site which i want to open. so what should i do in config. to open an work the bhavcopy properly? thanks in advance | |
| ||
|
Severus Member Posts: 1 |
@Hemen: Thanks a ton for such a wonderful software @RamBhole: Your tweak to the config file worked like a charm. thanks a lot ! | |
| ||