XFS is light weight file server, mainly for home networks where you don't required password login. XFS allow you to access, create, upload, rename & delete your files & folder.
Run setup.sh
script in terminal.
$ setup.sh
change these setting according to your requirements in
php.ini
settings
Maximum allowed size for uploaded files.
upload_max_filesize=20M
Maximum size of POST data that PHP will accept.
post_max_size=20M
Note: Make
upload_max_filesize
andpost_max_size
same.
Maximum number of files that can be uploaded via a single request
max_file_uploads=100
If you are using nginx, make these changes for uploading larger files.
server {
#...
client_max_body_size 100M;
}
File structure after running setup script.
root (htdocs)
โโโ index.php
โโโ .htaccess
โโโ xplora-file-server
โโโ .github
โโโ assets
โโโ data
โโโ php
โโโ scripts
โโโ styles
โโโ vendor
โโโ .gitignore
โโโ .htaccess
โโโ 404.php
โโโ setup.sh
โโโ logo.png
โโโ favicon.ico
โโโ README.md
โโโ index.php