Checking on completed downloads
Posted: Mon Jan 21, 2008 3:38 pm
Hi guys,
I'm new to the forum, so "hi!", but I have a question regarding a site I'm working on. Essentially it allows users to search for a video and then add it to a download queue and download the file. I want to check for two things - that a file is being currently downloaded and that a file has completed downloading. This is so the user can't download more than one file at once (the site distributed VERY large movie files and I don't want to kill the bandwidth available!) and then the completed file can be removed from the queue.
Does anyone have any suggestions on how this can be done? I've been looking at the cURL library but not sure that's suitable for what I need to do. Downloads will be done over HTTP.
Thanks in advance,
Welly
I'm new to the forum, so "hi!", but I have a question regarding a site I'm working on. Essentially it allows users to search for a video and then add it to a download queue and download the file. I want to check for two things - that a file is being currently downloaded and that a file has completed downloading. This is so the user can't download more than one file at once (the site distributed VERY large movie files and I don't want to kill the bandwidth available!) and then the completed file can be removed from the queue.
Does anyone have any suggestions on how this can be done? I've been looking at the cURL library but not sure that's suitable for what I need to do. Downloads will be done over HTTP.
Thanks in advance,
Welly