Select Excel / CSV files from your laptop. They are saved into the server uploads/ folder and can be imported into the database automatically.
uploads/ and are imported into MySQL for the app.
Source: https://nsearchives.nseindia.com/products/content/sec_bhavdata_full_DDMMYYYY.csv
Weekends are skipped. Max ~400 days per request. Be patient – one request every 0.3s.
Set a cron job (or free service like cron-job.org) to call this URL every day at 21:00 Asia/Kolkata:
Edit includes/config.php → change CRON_SECRET to a long random string, then use that value as ?key=….
Example crontab line:
30 21 * * * curl -s "https://YOUR-DOMAIN/api/cron_download.php?key=YOUR_SECRET"
Drag & drop Excel / CSV files here
or click to browse your laptop folder
Allowed: .csv .xlsx .xls .txt · Max 50 MB each
Use this if files were copied via FTP or are already in uploads/.