PHP Classes

File Fractal: Split normal and compressed files in places

Recommend this page to a friend!
  Info   View files Example   View files View files (19)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 113 This week: 1All time: 9,579 This week: 571Up
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
Age: ???
All time rank: 3948101 in France France
Week rank: 420 Up14 in France France Up
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  
File Role Description
Files folder imagefractal_zip (2 files, 2 directories)
Files folder imagefs (2 files)

  Files folder image Files  /  fractal_zip  
File Role Description
Files folder imagetest_files (9 files)
Files folder imagetest_files13 (6 files)
  Accessible without login Plain text file do_fractal_zip.php Example fractal_zip/do_fractal_zip.php
  Plain text file fractal_zip.php Class fractal_zip/fractal_zip.php

  Files folder image Files  /  fractal_zip  /  test_files  
File Role Description
  Plain text file 1.txt Class fractal_zip/test_files/1.txt
  Plain text file 2.txt Class fractal_zip/test_files/2.txt
  Plain text file 3.txt Class fractal_zip/test_files/3.txt
  Plain text file 4.txt Class fractal_zip/test_files/4.txt
  Plain text file 5.txt Class fractal_zip/test_files/5.txt
  Plain text file 6.txt Class fractal_zip/test_files/6.txt
  Plain text file 7.txt Class fractal_zip/test_files/7.txt
  Plain text file 8.txt Class fractal_zip/test_files/8.txt
  Plain text file 9.txt Class fractal_zip/test_files/9.txt

  Files folder image Files  /  fractal_zip  /  test_files13  
File Role Description
  Plain text file A000017.html Class fractal_zip/test_files13/A000017.html
  Plain text file A034607.html Class fractal_zip/test_files13/A034607.html
  Plain text file A072913.html Class fractal_zip/test_files13/A072913.html
  Plain text file A097738.html Class fractal_zip/test_files13/A097738.html
  Plain text file A119044.html Class fractal_zip/test_files13/A119044.html
  Plain text file A148167.html Class fractal_zip/test_files13/A148167.html

  Files folder image Files  /  fs  
File Role Description
  Accessible without login Plain text file do.php Example fs/do.php
  Plain text file fs.php Class fs/fs.php

 Version Control Unique User Downloads Download Rankings  
 0%
Total:113
This week:1
All time:9,579
This week:571Up