Have you watched a wonderful feature of Gmail i.e multiple file downloading .Do you know how this download works??.Let me tell you this fact to you.All files are downloaded by creating a zip file .You can add any type of image,MP3 ,video file in it.You cn also ass rar files in it.This is known as Multiple file Download.
All files must be in web directory and we will make it to force download at a time.This features enables user to save precious time which could be wasted in Downloading files one by one.I have realized this problem myself so i have added this Download Multiple Files Project Script.
You must have flush the files name from the database or you can pass the files name in the array.In the script i have explained the all way to Download Multiple Files.
Luckily there are so many browser add-ons free mass-downloading which perform your task of download multiple file very easy.These add-ons depends upon the which browser you are using.Because no any people will want to waste his/her time in the download one by one files.If you are trying to download 100s songs ,200 high-rank site image etc then it may be very difficult task to download them at simultaneously .
Basically HTTP protocols was designed to only send one file to one request.But according to user requirement sometimes it is necessery to send more files-usually when the user has selected many files to be download and files have to be delivered to user at same time.
I have uses a sample to pack more files to one single file and then send the zip files to clients who have requested to download it.But there are also some more tasks wich requires send more files for example we want to send a HTML page with small image as preview to clients.
Have you enjoyed my Download Multiple Files post ,please comment in the last section of post .
I have tested the following script you can download it and let me know if you face any problem in this:
You can follow me at twitter or at Facebook.