Export Files
FileCloud uses its own format to store files which will solve the file collision and name space issues in large deployments (For Ex: Universities and Large Enterprises). This storage format is not humanly readable. But you can export the stored data to its original format using our Export tool.
The export tool provided by FileCloud lets you export files of a particular user, of all users, files from a specific folder, or from a specific file.
Export Files and Folders
In the command line enter:
For Windows:cd c:\xampp\htdocs\resources\tools\fileutils PATH=%PATH%;C:\xampp\php
For Linux:
cd /var/www/html/resources/tools/fileutils
Then, for both Windows and Linux, enter:
php exportfs.php -d <to path> -u <user> -p <from path> -h <hostname> -c csvFileName.csv -r realRun
Parameters:
[required] -d = Export target directory
[required] -u= User account whose files are to be exported or 'all' to export all files
[required] -p = File or folder that needs to be exported
[optional] -h = Fully qualified name of the site to be exported in multisite installation. Omit the option for standalone or default site
[optional] -c = File name for generated CSV list of exported files. The '.csv' extension must be appended to the end of the file name. CSV files will be generated in the same directory as the exported files.
[optional] -r realRun = Use string 'realRun' to perform actual export. Not specifying this does only simulation of files/folders export