Koozali.org: home of the SME Server

[ANNOUNCE] New contrib smeserver-phpwebftp

Offline jpl

  • *
  • 112
  • +0/-0
[ANNOUNCE] New contrib smeserver-phpwebftp
« 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

Offline EdelingF

  • *****
  • 215
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #1 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.
...

Offline jpl

  • *
  • 112
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #2 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.

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #3 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

Offline warren

  • *
  • 293
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #4 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

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #5 on: May 07, 2008, 04:10:20 AM »
thanks got it working.

regards,
Rocel

Offline edb

  • *
  • 548
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #6 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
......

Offline jpl

  • *
  • 112
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #7 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.

Offline edb

  • *
  • 548
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #8 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?
......

Offline jpl

  • *
  • 112
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #9 on: May 08, 2008, 10:41:17 PM »
Nothing else I think that :
signal-event post-upgrade;  signal-event reboot

Offline edb

  • *
  • 548
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #10 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?
......

Offline edb

  • *
  • 548
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #11 on: May 08, 2008, 10:50:25 PM »
Ok, yes that was my problem.
FTP access from Internet needed to be enabled.
Thanks JPL
......

Offline edb

  • *
  • 548
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #12 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
......

Offline jpl

  • *
  • 112
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #13 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.

Offline Bud

  • *
  • 487
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #14 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

Offline jpl

  • *
  • 112
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #15 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.


Offline Bud

  • *
  • 487
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #16 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)

Offline jpl

  • *
  • 112
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #17 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

Offline Bud

  • *
  • 487
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #18 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:

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #19 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.


 
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #20 on: June 08, 2008, 04:57:03 AM »
[Duplicate Post Deleted]

hmmm...   Upstream proxy error....


« Last Edit: June 08, 2008, 05:01:31 AM by william_syd »
Regards,
William

IF I give advise.. It's only if it was me....

Offline Bud

  • *
  • 487
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #21 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:

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #22 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

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #23 on: November 21, 2008, 11:07:30 PM »
Bud, please report any problems with contribs to the bug tracker.

Offline AaronW

  • *
  • 5
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #24 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?!!

mike.walsh@walshware.com

Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #25 on: March 02, 2010, 09:37:16 PM »
Try this:

Login as root, then enter:

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


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #27 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?

Offline AaronW

  • *
  • 5
  • +0/-0
Re: [ANNOUNCE] New contrib smeserver-phpwebftp
« Reply #28 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