1. Output of caddy version
:
v2.5.2
2. How I run Caddy:
Linux server x64 binary.
a. System environment:
Ubuntu 22.04.1 LTS
b. Command:
(dir_server) {
root * "{args.0}"
file_server browse
}
...
...
handle_path /dir_list/* {
import dir_server "/path/to/share"
}
c. Service/unit/compose file:
Irrelevant
d. My complete Caddy config:
Irrelevant
3. The problem I’m having:
I’d like to be able to run a wget command to download/replicate the entire directory structure shown by a Caddy file browser.
4. Error messages and/or full log output:
Irrelevant
5. What I already tried:
6. Links to relevant resources:
Is something like this possible?: Download ALL Folders, SubFolders, and Files using Wget - Super User