Dear Group, My code stopped working ... used to work till last week!
sURL <- "http://www.nseindia.com/content/historical/EQUITIES/2010/NOV/cm01NOV2010bha v.csv.zip" > download.file(sURL,"test.zip") trying URL 'http://www.nseindia.com/content/historical/EQUITIES/2010/NOV/cm01NOV2010bha v.csv.zip' Error in download.file(sURL, "test.zip") : cannot open URL 'http://www.nseindia.com/content/historical/EQUITIES/2010/NOV/cm01NOV2010bha v.csv.zip' In addition: Warning message: In download.file(sURL, "test.zip") : cannot open: HTTP status was '403 Forbidden' I put the same URL in a browser and it works just fine. Any idea why? Thanks, S ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.