Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: jpl on May 03, 2008, 05:07:41 PM

Title: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: jpl on May 03, 2008, 05:07:41 PM
Hi everyone,

New SME server contrib available : smeserver-phpwebftp

As stated by the name, smeserver-phpwebftp adds a https web frontend to get FTP access to your server via
http(s)://mydomain.myserver/webftp

See smeserver-phpwebftp page on the wiki : http://wiki.contribs.org/PhpWebFtp
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: EdelingF on May 04, 2008, 04:33:11 PM
Looks nice!
Does this create a security risk?
I have shut down FTP-access because of risks, but it would come in handy.
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: jpl on May 04, 2008, 05:11:52 PM
For connection and file tranfer :
Like an an ftps (FTP+SSL) access, because http is used with SSL, and username/password/files transfer are crypted. FTP connection is made only from localhost to localhost and is done internally of your SME Server.

Rely also on phpwebftp php security, but as for other php applications.
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: kryptos on May 06, 2008, 08:58:14 AM
hi,

I got this error when installing it..

yum install http://mirror.contribs.org/smeserver/contribs/jpl/smecontribs/smeserver-phpwebftp/smeserver-phpwebftp-4.0-2.el4.eos.noarch.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "installonlyn" plugin
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Parsing package install arguments
No Match for argument: http://mirror.contribs.org/smeserver/contribs/jpl/smecontribs/smeserver-phpwebftp/smeserver-phpwebftp-4.0-2.el4.eos.noarch.rpm
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Thanks,
Rocel
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: warren on May 06, 2008, 09:41:33 AM
Rocel,

create dir on sme  ie : contribs
cd contribs
wget  http://mirror.contribs.org/smeserver/contribs/jpl/smecontribs/smeserver-phpwebftp/smeserver-phpwebftp-4.0-2.el4.eos.noarch.rpm


then
yum localinstall smeserver-phpwebftp-4.0-2.el4.eos.noarch.rpm
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: kryptos on May 07, 2008, 04:10:20 AM
thanks got it working.

regards,
Rocel
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: edb on May 08, 2008, 09:51:18 PM
Does this contrib work after the April update?

Does it only allow SME users access to their own home folder or is it fully configurable?

Thanks

edb
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: jpl on May 08, 2008, 10:10:41 PM
This contrib is not affected by the april update.

Users access the same way than with FTP : the home folder and all allowed ibays.
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: edb on May 08, 2008, 10:32:46 PM
Ok, thanks.

I installed it but when I go to http(s)://mydomain.myserver/webftp I get a 403 forbidden error.
Is there a configuration frontend/backend?
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: jpl on May 08, 2008, 10:41:17 PM
Nothing else I think that :
signal-event post-upgrade;  signal-event reboot
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: edb on May 08, 2008, 10:44:15 PM
Yes, I did do the signal-event post-upgrade;  signal-event reboot
Why the 403 error? Does ftp access from the internet need to be enabled in the remote access section?
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: edb on May 08, 2008, 10:50:25 PM
Ok, yes that was my problem.
FTP access from Internet needed to be enabled.
Thanks JPL
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: edb on May 08, 2008, 11:44:10 PM
Is there a way to get webftp to follow "user remote access settings" chroot path?

I would like to setup an ibay for service manuals but I don't want them accessable to the general public.
I wanted to be able to set the path in "user remote access settings" and have certain users logon directly to the ibay/files directory. I also would want them to be contained (jailed) to that level and not be able to browse up the directory tree.

Can this be done?

edb
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: jpl on May 09, 2008, 12:01:17 AM
What you require must be made via proftpd configuration on the SME server.

smeserver-phpwebftp is just a frontend to do REAL ftp.

Only proftpd autenticate the user, not phpwebftp, and only proftpd can jailed him.

See in proftpd.conf custom-templating direction to do it.
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: Bud on June 06, 2008, 06:17:58 PM
Hi Guys Please Help

I installed the Latest phpWebFTP on my SME 7.3 Server and all seems well.
I Logged in and Created a Folder then Uploaded some Files.
All went well

My Problem is when I choose to DOWNLOAD an Uploaded File I get a page "Error downloading file"

Please Help  :P
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: jpl on June 06, 2008, 08:39:11 PM
Yes, it seems there is a bug. Thanks for pointing it. Please raise a bug about it in the bugtrack.

I think the problem is that the directory /home/httpd/html/webftp/tmp should bee owned by www.www and is owned by root.root

Try to change it and tell me if it is ok.

Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: Bud on June 07, 2008, 06:16:05 AM
Thanks jpl for the Info

How do I change the Ownership (Group and Owner) and user rights of the Folder "tmp" to www.www

I have tried WinSCP but the Tabs to change the group and owner options are not available.

Sorry for the noob question  8)
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: jpl on June 07, 2008, 10:54:21 AM
You must log as root on the server via the console or with a ssh client and type the command :

chown www.www /home/httpd/html/webftp/tmp
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: Bud on June 07, 2008, 11:41:21 AM
That's what I'm Talking about Man.

Thanks jpl that did the Trick.

Long Live SME Server  :lol:
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: william_syd on June 08, 2008, 04:53:51 AM


I have tried WinSCP but the Tabs to change the group and owner options are not available.



Use the SCP protocol in WinSCP not the sFTP protocol.


 
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: william_syd on June 08, 2008, 04:57:03 AM
[Duplicate Post Deleted]

hmmm...   Upstream proxy error....


Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: Bud on June 08, 2008, 09:21:57 AM
Thanks for all the Help guys including the tip on WinSCP

Do you know of a Windowz app that I can use to Backup File(s) to the phpWebFTP Server on a scheduled basis. I have tried some apps but it seems that there is a rights issue coping files. The apps can login to the phpWebFTP Server but cannot seem to copy any files.

Any help greatly appreciated  :smile:
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: shawnbishop on November 21, 2008, 12:39:52 PM
Good Day

I have installed phpwebftp, on 7.3, when accessing the FTP Folders via Filezilla or similiar FTP programme my default directory is

/home/e-smith/files/users/username/home/

as per the remote access settings etc...this is the way it should work

via webftp I access the following directory path using the same username and password

/home/e-smith/files/users/supportdsa/

So users think files have gone missing...then worst of all, I can browse all the way back to the

/home/e-smith/files/

directory...??

How do I prevent webftp from doing this??

Cheers
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: David Harper on November 21, 2008, 11:07:30 PM
Bud, please report any problems with contribs to the bug tracker (http://bugs.contribs.org/).
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: AaronW on February 08, 2010, 04:39:26 AM
Hi Guys Please Help

I installed the Latest phpWebFTP on my SME 7.3 Server and all seems well.
I Logged in and Created a Folder then Uploaded some Files.
All went well

My Problem is when I choose to DOWNLOAD an Uploaded File I get a page "Error downloading file"

Please Help  :P

I am having the same issue, however I am able to upload OK!

Yes, it seems there is a bug. Thanks for pointing it. Please raise a bug about it in the bugtrack.

I think the problem is that the directory /home/httpd/html/webftp/tmp should bee owned by www.www and is owned by root.root

Try to change it and tell me if it is ok.



I have done this and had no success, problem still exists.

Please Help?!!
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: mike.walsh@walshware.com on March 02, 2010, 09:37:16 PM
Try this:

Login as root, then enter:

chmod 740 /home/httpd/html/webftp/tmp
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: CharlieBrady on March 03, 2010, 04:40:24 AM
yum install http://mirror.contribs.org/smeserver/contribs/jpl/smecontribs/smeserver-phpwebftp/smeserver-phpwebftp-4.0-2.el4.eos.noarch.rpm

yum doesn't work that way. Try:

rpm -Uhv http://mirror.contribs.org/smeserver/contribs/jpl/smecontribs/smeserver-phpwebftp/smeserver-phpwebftp-4.0-2.el4.eos.noarch.rpm
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: CharlieBrady on March 03, 2010, 04:45:19 AM
What you require must be made via proftpd configuration on the SME server.

smeserver-phpwebftp is just a frontend to do REAL ftp.

I don't understand the point of it then - every user has access to a real local ftp client (and has the browser anyway). What does phpwebftp add?
Title: Re: [ANNOUNCE] New contrib smeserver-phpwebftp
Post by: AaronW on March 04, 2010, 12:30:16 PM
Try this:

Login as root, then enter:

chmod 740 /home/httpd/html/webftp/tmp


Yep, Seems to have fixed it. Thanks