How to start automatic download of a file? Post published: April 14, 2011 Post category:JavaScript Post comments:0 Comments <script type="text/javascript"> setTimeout(function () { window.location = 'download url'; }, 5000) </script> Share on X (Twitter) Share on Facebook Share on LinkedIn Share on Email Share on WhatsApp Share on Telegram Read more articles Previous PostRemote full backup using cron job Next PostHow do i control the facebook like image ? You Might Also Like PHP: How to create unique short string IDs with PHP & MySQL December 13, 2012 PNG-Transparency for Windows IE 5.5 & 6 September 1, 2010 Joomfish, K2 & T3 Menu Translation Problem April 26, 2011