Forum Discussion
Maintenance page / local website that includes subfolders
I got a request to host a maintenance page when pool members are down. The web page i got actually consists of index.html and 10 more files under css/ and img/ sub-folders.
Is there a way to upload folders to ifiles? I'd prefer to avoid uploading 10 files to ifiles, as it will create a mess in the ifiles list, where all ifiles are listed together without an option to organize files under folders.
I converted all files to 1 file. Merged css into the html file and also merged the images into the html with base64 encoding
4 Replies
- sophie8989
Altostratus
Yeah — unfortunately iFiles doesn’t really support true folder uploads the way a normal filesystem does, so everything ends up dumped into one flat list (which gets messy fast, like you said).
What usually works better is:
Zip the whole maintenance page (index.html + css + img folders) into one archive
Upload the ZIP
Extract it server-side (via SSH or file manager, if available)
That way your folder structure stays intact and you avoid uploading 10+ files individually.
I’ve run into similar “organization headaches” when managing game assets too — kinda like testing configs while comparing setups in hill climb racing best vehicle runs… structure matters way more than people think
- Emil_Tr
Cirrus
Sounds interesting.
1. When creating iFile list, does the F5 allow you to select the files from the extracted subfolders?
2. What happens once you extract the ZIP file? Do you still need to create an iFile list after the import? In the "iFile list" phase, do we still need to create the iFiles one by one and without any folder structure?
- Emil_Tr
Cirrus
I converted all files to 1 file. Merged css into the html file and also merged the images into the html with base64 encoding
- BramsBytes
Cirrus
Hi Emil_Tr - I would ask the team that created such an elaborate website to try to scale it down. It shouldn't be up there for a long time anyway right? For my maintenance page I just use inline CSS and just host a logo and a font as an iFile.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com