Hi,

I think you already got the answer from Sean. The CSV file is temporary -
dynamically generated - it is only generated on NSE website when someone
requests price history of a particular stock by entering values in the HTML
form. The csv file stays on the server for some time so that the user can
download it. Most requests to directly fetch the CSV file would return 404
error.

Warm Regards


On Sun, Jan 10, 2010 at 3:35 PM, Velappan Periasamy <veepsirtt@gmail.com>wrote:

> How  did Mr Dirk got this result ?.
>
> to me, r-sig-finance
> show details
>  7:50 am (15 hours ago)
> - Show quoted text -
> R> IcantBelieveYouDidNotTryThis <-
> read.csv("
> http://nseindia.com/content/equities/scripvol/datafiles/08-01-2010-TO-08-01-2010RCOMEQN.csv
> ")
>
> R> head(IcantBelieveYouDidNotTryThis) Symbol Series Date Prev.Close
>  Open.Price High.Price Low.Price Last.Price Close.Price Average.Price
>  Total.Traded.Quantity Turnover.in.Lacs X 1 RCOM EQ 08-Jan-2010 183.9
>  184.5 185.2 180.2 181.1 180.8 182.1 3775898 6878 NA
> R>
>
> Dirk
>
>
>
>
> On 1/9/10, Sean O'Riordain <sean.oriordain@gmail.com> wrote:
> > Good morning,
> >  I got the same error - but then I opened it in firefox... then again
> >  in R and it worked... I'd be surprised if it's an R problem - more
> >  likely nseindia.com doesn't want scraping of its webside.
> >
> >  Try using wireshark (.org) to debug the network packets going back and
> forth.
> >  cheers,
> >  Sean
> >
> >
> >  On Sun, Jan 10, 2010 at 6:27 AM, Velappan Periasamy <
> veepsirtt@gmail.com> wrote:
> >  >  I am getting this error.----------
> >  > while downloading data
> >  >
> >  > IcantBelieveYouDidNotTryThis <-
> >  > read.csv("
> http://nseindia.com/content/equities/scripvol/datafiles/08-01-2010-TO-08-01-2010RCOMEQN.csv
> ")
> >  >
> >  > Error in file(file, "r") : cannot open the connection
> >  > In addition: Warning message:
> >  > In file(file, "r") : cannot open: HTTP status was '404 Not Found'
> >  >
> >
> > > _______________________________________________
> >  > R-SIG-Finance@stat.math.ethz.ch mailing list
> >  > https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> >  > -- Subscriber-posting only. If you want to post, subscribe first.
> >  > -- Also note that this is not the r-help list where general R
> questions should go.
> >  >
> >
>
> _______________________________________________
> R-SIG-Finance@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>



-- 
--
Sankalp Upadhyay

	[[alternative HTML version deleted]]

