Getbhavcopy: Free NSE and BSE data downloader

Topic: Getbhavcopy.exe.config: Pl's add - 1) proxy address : port, 2) user name, 3) password

Post Reply
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

June 16, 2009 at 7:57 AM Flag Quote & Reply

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,
Hemen Kapadia

Quicklinks:

New Blog Post: Getbhavcopy version 2.1.0 released

NSE and BSE Historical data in Metastock format
NSE and BSE Historical data in ASCII format

June 18, 2009 at 11:38 AM Flag Quote & Reply

RamBhole
Member
Posts: 6

Hemen at 11:38AM on Jun 18, 2009

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.


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

June 19, 2009 at 8:06 AM Flag Quote & Reply

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 ?

June 19, 2009 at 1:46 PM Flag Quote & Reply

RamBhole
Member
Posts: 6

Hemen at 01:46PM on Jun 19, 2009

Are you able to access NSE and BSE sites using internet explorer in your office once you make the proxy settings ?

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

June 26, 2009 at 12:16 AM Flag Quote & Reply

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,
Hemen Kapadia

Quicklinks:

New Blog Post: Getbhavcopy version 2.1.0 released

NSE and BSE Historical data in Metastock format
NSE and BSE Historical data in ASCII format

June 26, 2009 at 12:43 PM Flag Quote & Reply

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,

July 22, 2009 at 12:21 AM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

Did you try storing the username and password in Internet Explorer

--

Thanks and Regards,
Hemen Kapadia

Quicklinks:

New Blog Post: Getbhavcopy version 2.1.0 released

NSE and BSE Historical data in Metastock format
NSE and BSE Historical data in ASCII format

July 22, 2009 at 1:03 AM Flag Quote & Reply

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.

July 22, 2009 at 1:41 AM Flag Quote & Reply

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
August 19, 2009 at 3:57 PM Flag Quote & Reply

Severus
Member
Posts: 1

RamBhole at 12:16AM on Jun 26, 2009

Hemen at 01:46PM on Jun 19, 2009

Are you able to access NSE and BSE sites using internet explorer in your office once you make the proxy settings ?

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>


@Hemen: Thanks a ton for such a wonderful software @RamBhole: Your tweak to the config file worked like a charm. thanks a lot !
January 31, 2010 at 2:27 AM Flag Quote & Reply

You must login to post.

Welcome

Google Search


Recent Blog Entries

Newest Members