PHP Classes

File Fractal: Split normal and compressed files in places

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 113 All time: 9,605 This week: 455Up
Version License PHP version Categories
fs 0.2Freeware5PHP 5, Files and Folders, Systems adm..., C..., W...
Description 

Author

This package can split normal and compressed files in multiple places.

It can display HTML listings of files with links for the actual location of the files.

The class can also take backups of the files independently where thy are located.

Innovation Award
PHP Programming Innovation award nominee
July 2017
Number 2
Sometimes it is necessary to split a list of files between multiple directories that are equivalent but they many not fit on one drrive, so you do not have to use a drive with more space.

This package can help managing the space allocated by a set of files that can be split among many directories, either in compressed or uncompressed formats.

Manuel Lemos
Picture of Jill Lingoff
Name: Jill Lingoff <contact>
Classes: 3 packages by
Country: France France
Innovation award
Innovation award
Nominee: 1x

 

Example

<?php



//$directory = "c:/anna-font";
//$directory = "D:";
//$directory = "D:/Install";
//$directory = "1";
//$directory = "D:\Profiles";


//var_dump($fs->file_counter);exit(0);
//$fs->recursive_directory_list($directory);
//$fs->list_folder_paths($directory);
//$fs->write_folder_paths_to_file($directory);
//$fs->create_folders_array($directory);
//$fs->get_permutations_of_folder_relations_from_file_iteratively();
//$fs->get_counted_permutations_of_folder_relations_from_file();
//$fs->transit_intensity_map_from_file();
//print("this->file_counter: ");var_dump($fs->file_counter);print("<br>\r\n");
//print("this->folder_counter: ");var_dump($fs->folder_counter);print("<br>\r\n");

$action = $_REQUEST['action'];
if(
$action == false) {
   
//print('Action is false; cannot proceed.');exit(0);
   
print('<ul>
<li><a href="do.php?action=backup_important_files">Backup Important Files</a></li>
<li><a href="do.php?action=differentially_backup_important_files">Differentially Backup Important Files</a></li>
<li><a href="do.php?action=clean_backup_folders">Clean Backup Folders</a></li>
<li><a href="do.php?action=redistribute_files">Redistribute Files</a></li>
<li><a href="do.php?action=analyze_drives">Analyze Drives</a></li>
<li><a href="do.php?action=navigate_files">Navigate Files</a></li>
<li><a href="do.php?action=browse&path=https://duckduckgo.com">Browse Internet</a></li>
</ul>'
);
} else {
    include(
'fs.php');
   
$fs = new fs();
   
$res = call_user_func(array($fs, $action));
}



?>


  Files folder image Files (19)  
File Role Description
Files folder imagefractal_zip (2 files, 2 directories)
Files folder imagefs (2 files)

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:113
This week:0
All time:9,605
This week:455Up