Saving a dynamic url generated file automaticallly in php

hello,
I am stuck at a point and i want to make a php script that automatically via cron downloads and saves the csv on server. I tried alot many cases but still no help… its the bhavcopy report generating daily from BSE… iwant to download and save that file to server automaticaly.Here is the link for download

http://www.bseindia.com/download/BhavCopy/Equity/EQ140316_CSV.ZIP

Do have any code to show us? What are you stuck on exactly? What problem do you have?

Scott

just file_put_contents($filename, file_get_contents($url))

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.