Line 39: |
Line 39: |
| | | |
| === Configuration === | | === Configuration === |
− | thanks to db configuration setprop webftp **** you will be able to change some options: | + | thanks to config setprop webftp **** you will be able to change some options: |
| + | |
| + | config show webftp |
| + | webftp=configuration |
| + | ForceFtpVirtualLocalhost=yes |
| + | MaxFileSize=20000000 |
| + | ResumeDownload=true |
| + | status=enabled |
| + | |
| | | |
| '''ForceFtpVirtualLocalhost''' default yes | | '''ForceFtpVirtualLocalhost''' default yes |
| + | config setprop webftp ForceFtpVirtualLocalhost yes |
| | | |
| yes: will override DefaultRoot directive defined for each users | | yes: will override DefaultRoot directive defined for each users |
Line 47: |
Line 56: |
| | | |
| '''MaxFileSize''' default 20000000 | | '''MaxFileSize''' default 20000000 |
− | | + | config setprop webftp MaxFileSize 20000000 |
| max size in octets you will allow to transfer thanks to php web ftp . Be carrefull you are also limited to PHP PostMaxSize and UploadMaxFilesize directives. | | max size in octets you will allow to transfer thanks to php web ftp . Be carrefull you are also limited to PHP PostMaxSize and UploadMaxFilesize directives. |
| | | |
| | | |
| '''ResumeDownload''' default true | | '''ResumeDownload''' default true |
| + | config setprop webftp ResumeDownload true |
| true: allow resume download | | true: allow resume download |
| false: do not allow resuming | | false: do not allow resuming |
| | | |
| '''status''' default enabled | | '''status''' default enabled |
| + | config setprop webftp status enabled |
| enabled: allow php webftp to work | | enabled: allow php webftp to work |
| disabled : prevents access to phpwebftp | | disabled : prevents access to phpwebftp |