Line 1: |
Line 1: |
| + | {{Warning box|This contribs uses a php interface that is not maintained anymore, please choose an alternative like [[Nextcloud]] while not directly using the ftp technology, it is allowing similar access to files.}} |
| + | |
| === Maintainer === | | === Maintainer === |
| [mailto:jean-paul@leclere.org jpl] | | [mailto:jean-paul@leclere.org jpl] |
| + | |
| + | === Version === |
| + | {{ #smeversion: smeserver-phpwebftp}} |
| + | |
| | | |
| === Description === | | === Description === |
Line 33: |
Line 39: |
| | | |
| signal-event post-upgrade; signal-event reboot | | signal-event post-upgrade; signal-event reboot |
| + | |
| + | or |
| + | expand-template /home/httpd/html/webftp/config.inc.php |
| + | expand-template /etc/httpd/conf/httpd.conf |
| + | service httpd-e-smith restart |
| | | |
| === Uninstall === | | === Uninstall === |
Line 52: |
Line 63: |
| config setprop webftp ForceFtpVirtualLocalhost yes | | config setprop webftp ForceFtpVirtualLocalhost yes |
| | | |
− | yes: will override DefaultRoot directive defined for each users | + | yes: will override DefaultRoot directive defined for each users <br /> |
| + | |
| no : will allow ftp connection as if an external ftp client were used: with respect to DefaultRoot directive | | no : will allow ftp connection as if an external ftp client were used: with respect to DefaultRoot directive |
| | | |
Line 67: |
Line 79: |
| '''status''' default enabled | | '''status''' default enabled |
| config setprop webftp status enabled | | config setprop webftp status enabled |
− | enabled: allow php webftp to work | + | enabled: allow php webftp to work<br /> |
| + | |
| disabled : prevents access to phpwebftp | | disabled : prevents access to phpwebftp |
| + | |
| + | === Chroot of users === |
| + | |
| + | you can chroot users in their home if you do not want they can see folder they don't own. For that you can install the [[Remoteuseraccess|remote-user-access contribs]] |
| + | |
| + | see [[Remoteuseraccess#Global_Settings]] '''if the contribs is already installed''' |
| + | |
| + | You can globally set FTP chroot with the following |
| + | |
| + | You can chroot all users to their home directory with the command. |
| + | config setprop ftp ChrootDir home |
| + | |
| + | |
| + | to return to default settings of /home/e-smith/files/ |
| + | config delprop ftp ChrootDir |
| + | |
| + | then enable |
| + | expand-template /etc/proftpd.conf |
| | | |
| === known problems and bugs ==== | | === known problems and bugs ==== |
Line 82: |
Line 113: |
| Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs bugzilla] | | Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs bugzilla] |
| and select the smeserver-phpwebftp component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-phpwebftp|title=this link}}. | | and select the smeserver-phpwebftp component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-phpwebftp|title=this link}}. |
| + | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-phpwebftp|noresultsmessage="No open bugs found."}} |
| + | |
| + | |
| + | ===Changelog=== |
| + | Only released version in smecontrib are listed here. |
| + | |
| + | {{ #smechangelog: smeserver-phpwebftp}} |
| + | |
| + | <noinclude> |
| + | [[Category:Administration:Remote Access]] |
| | | |
− | <noinclude>[[Category: Contrib]] [[Category:Administration:Remote Access]]</noinclude>
| + | [[Category:Deprecated Contrib]] |
| + | </noinclude> |