Koozali.org: home of the SME Server

webshare alternative?

Offline del

  • *
  • 765
  • +0/-0
webshare alternative?
« on: April 23, 2004, 08:13:16 PM »
Hi All,
I have installed the webshare contrib by Darrell May and it works OK. I was wondering if there was a simular contrib that allows different priveleges for users, mainly I would like them to be able upload and download files but not delete them. Any pointers in the right direction will be appreciated.
Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline byte

  • *
  • 2,183
  • +2/-0
webshare alternative?
« Reply #1 on: April 23, 2004, 08:40:47 PM »
How about this one? http://quixplorer.sourceforge.net/

havent had chance to install myself yet but looking too.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline warren

  • *
  • 293
  • +0/-0
webshare alternative?
« Reply #2 on: April 24, 2004, 10:51:01 AM »
Del,
You can restrict users from Deleting files in the config file e.g
/opt/webshare/nameofwebshare/conf/config.inc.php

# Access configuration
# Each variable can be set to either TRUE or FALSE.
$AllowCreate    = FALSE;
$AllowDownload  = FALSE;
$AllowRename    = FALSE;
$AllowUpload    = TRUE;
$AllowDelete    = FALSE;
$AllowView      = FALSE;
$AllowEdit      = FALSE;

Uploads only allowed for users in this webshare.
Warren

Offline del

  • *
  • 765
  • +0/-0
webshare alternative?
« Reply #3 on: April 25, 2004, 04:19:02 AM »
Hi Warren,
Thanks for the reply, however when I navigate to /opt/webshare/nameofwebshare/
I do not see the conf/config.inc.php. I am using winscp to look for it. Am I missing something? Is there another way to find it? Any help is appreciated.
Regards,
Del :-?
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline warren

  • *
  • 293
  • +0/-0
webshare alternative?
« Reply #4 on: April 25, 2004, 04:56:54 PM »
Change the config file from the command line;
If you're at the machine logon as root or connect from lan via putty.
pico /opt/webshare/nameofwebshare/conf/config.inc.php
Change file as per
# Access configuration
# Each variable can be set to either TRUE or FALSE.
$AllowCreate = FALSE;
$AllowDownload = FALSE;
$AllowRename = FALSE;
$AllowUpload = TRUE;
$AllowDelete = FALSE;
$AllowView = FALSE;
$AllowEdit = FALSE;

Offline del

  • *
  • 765
  • +0/-0
webshare alternative?
« Reply #5 on: April 27, 2004, 02:04:21 PM »
Hi Warren,
I tried using the command you suggested but it appeared that the file was blank! So I typed out exactly as you had written, saved it etc. but it has not changed the permissions. I am a bit confused that the file didn't exist. Any help is appreciated.
Thanks,
Del :-?
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline byte

  • *
  • 2,183
  • +2/-0
webshare alternative?
« Reply #6 on: April 27, 2004, 02:36:33 PM »
Del,

I haven't installed this but could the config.inc.php be under...

/etc/e-smith/templates-custom/opt/webshare...

Just a thought
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

big_gie

webshare alternative?
« Reply #7 on: April 27, 2004, 05:37:03 PM »
Hi del,

I was looking for the same thing and I found webshare to be a bit disapointing.

I then found Invision's File Manager (http://www.invisionfilemanager.com/) wich is more superior by any mean.

Their is a demo avaible at here: http://demo.invisionfilemanager.com/index.php

The only negative point is that since what is used to write files on the HD is the apache web server, the owner is always "www". I think the new version (1.1) avaible in a near future will be better for this.

Their isnt a contrib for this one, but you don't need one. Download their package, upload it to /home/e-smith/files/primary/html/<folder name>/ where <folder name> is the folder you want it to appear on you web server. For exemple, if you want http://www.mydomain.com/files then name it "files"

The point your browser to http://www.mydomain.com/files/install.php to start the installation.

Free, simple and professionnal :)

Offline warren

  • *
  • 293
  • +0/-0
webshare alternative?
« Reply #8 on: April 27, 2004, 11:08:41 PM »
Hi Del,
Did you download webshare from the following :
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/webshare/
You also need to download phpfm.tar.gz
Install rpm -Uvh *.rpm
copy phpfm.tar.gz to /opt/webshare-tools/phpfm.tar.gz
create a webshare using the server-manager panel.
Copy phpfm.tar.gz into /opt/webshare/$webshare and expand.

Then follow:
Change the config file from the command line;
If you're at the machine logon as root or connect from lan via putty.
pico /opt/webshare/nameofwebshare/conf/config.inc.php
Change file as per
# Access configuration
# Each variable can be set to either TRUE or FALSE.
$AllowCreate = FALSE;
$AllowDownload = FALSE;
$AllowRename = FALSE;
$AllowUpload = TRUE;
$AllowDelete = FALSE;
$AllowView = FALSE;
$AllowEdit = FALSE;


Warren

Offline del

  • *
  • 765
  • +0/-0
webshare alternative?
« Reply #9 on: April 28, 2004, 03:51:55 AM »
Hi big_gie,
I have downloaded and installed invision power file manager and installed it OK. I can't seem to see where to allow users to download files, I can allow them to upload, prevent them from deleting etc. but they are not able to download them! Any suggestions?
regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

big_gie

webshare alternative?
« Reply #10 on: April 28, 2004, 04:20:50 AM »
Hum, well I tough it was pretty simple...

I just sets some login/passwords to users and they upload/download files as they want... What do you mean "they are not able to download files?" After login on the file manager I have access to my files and can download them by clicking on their name...

Offline del

  • *
  • 765
  • +0/-0
webshare alternative?
« Reply #11 on: April 28, 2004, 04:22:47 AM »
Hi Warren,
I am still working on webshare, I have followed your instructions and can now edit as per your insructions. I have set things as follows:
# Access configuration
# Each variable can be set to either TRUE or FALSE.
$AllowCreate = FALSE;
$AllowDownload = TRUE;
$AllowRename = FALSE;
$AllowUpload = TRUE;
$AllowDelete = FALSE;
$AllowView = FALSE;
$AllowEdit = FALSE;
As I understand it, users can upload and download files. However when I go to https://mydomain.com/webshare/webshare_name/ and I can log in OK, I then try to upload a file and I get this message: Invalid home folder - Uploading bam.zip [FAILED!]
Any ideas? Thanks for your patience.
Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline del

  • *
  • 765
  • +0/-0
webshare alternative?
« Reply #12 on: April 28, 2004, 04:34:48 AM »
Hi big_gie,
I can see my files, but when I click on one I get a page unavailable message in IE6! If I right click the file and choose save target as I get a message saying that internet explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. Please try again later. Any suggestions welcome. It's been a long day, I think I will go to bed and try again tomorrow. Thanks again for your help.
Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

k12 linuxnubie

Try bytehoard
« Reply #13 on: April 28, 2004, 08:45:33 AM »
I use this in one of my high schools

http://bytehoard.sourceforge.net/

it takes some setup but people seem to like it.

It uses MySQL for permissions to files I believe.