Originally Posted by call_krushna
Thanks for reply . I will try with curl and get back you . To fix immediately , I have used check_http -a .
Thanks a ton for reply .The problem was , while using wget ,it used to download one file called version .Since no permission was set to the existing folder ,it was giving wrong output .In my plugin script , I have added extra line i.e.
Now it is working fine .Thanks for pointing out this .