Difference between revisions of "PhpWebFtp"

From SME Server
Jump to navigationJump to search
Line 56: Line 56:
  
 
=== known problems and bugs ====
 
=== known problems and bugs ====
on french version of sme after installation : "Invalid language entered. Exiting script" error when trying to connect.
+
after installation : "Invalid language entered. Exiting script error when trying to connect".
solution : l
+
 
 +
solution :  
 
  expand-template /home/httpd/html/webftp/config.inc.php
 
  expand-template /home/httpd/html/webftp/config.inc.php
  

Revision as of 21:47, 10 September 2008

Maintainer

jpl

Description

This contribution for smeserver adds a web frontend which provides FTP connection with your SME server based upon the php GNU GPL application phpwebftp.

You can access your SME server FTP panel with your browser at url https://myserver.mydomain/webftp/

Access to the FTP frontend is only possible via https (http requests are redirected as https requests). You must provide your SME login and password.

Smeserver-phpwebftp2.png

Two params can be set in the webftp record of the SME configuration db :

MaxFilesSize nnnnnn : sets the maximum size in bytes of transferred files (default is 20000000)

ResumeDownload true|false : to enable/disable resuming of transferred files (default is true)

Requirements

You need nothing else than smeserver-phpwebftp package.

Installation

This contrib is held in smecontribs repository, so the following commands will install on your smeserver.

 yum install --enablerepo=smecontribs smeserver-phpwebftp

You will then need to activate the database changes etc. The 'official' way is to perform

signal-event post-upgrade;  signal-event reboot

Uninstall

yum remove smeserver-phpwebftp


Configuration

thanks to db configuration setprop webftp **** you will be able to change some options:

ForceFtpVirtualLocalhost default yes

yes: will override DefaultRoot directive defined for each users no : will allow ftp connection as if an external ftp client were used: with respect to DefaultRoot directive

MaxFileSize default 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.


ResumeDownload default true true: allow resume download false: do not allow resuming

status default enabled enabled: allow php webftp to work disabled : prevents access to phpwebftp

known problems and bugs =

after installation : "Invalid language entered. Exiting script error when trying to connect".

solution :

expand-template /home/httpd/html/webftp/config.inc.php

Source

The source for this contrib can be found in the smeserver CVS .

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-phpwebftp component or use this link .