Location: PHPKode > scripts > Bf_Download > bf_download/example.php
<?php    
include("class.Bf_Download.php");       // load the class file

$fichier = new Bf_Download("example.zip");                          // use the original file name, disallow resuming, no speed limit                  
/*
$fichier = new Bf_Download("example.zip","My Example.zip") ;        // rename the file, disallow resuming, no speed limit
$fichier = new Bf_Download("example.zip","My Example.zip","on") ;   // rename the file, allow resuming, no speed limit 
$fichier = new Bf_Download("example.zip","My Example.zip","on",80) ;   // rename the file, allow resuming, speed limit 80ko/s
*/
$fichier->download_file();

?>
Return current item: Bf_Download