Koozali.org: home of the SME Server

Webshare question

Offline ruipedroca

  • ***
  • 86
  • +0/-0
Webshare question
« on: January 16, 2008, 02:03:25 AM »
Hi,
I'm running on sme server 7.2 and i've installed webshare via rpm and it works fine.
My question is: is there a way of uploading more than 4 files at once?

I've been looking for webshare documentation but found almost nothing, in fact most i've found about webshare was in this forum..


Thanks in advance
Live and let die

Offline EdelingF

  • ****
  • 215
  • +0/-0
Re: Webshare question
« Reply #1 on: January 16, 2008, 10:39:42 AM »
Login your server with f.i. Putty and use MC to copy files in the webshare.
I've copied about 20G in a webshare that way and it works ok. Don't know where exactly, but just go to opt/webshare/yourwebshare and I think you'll find your way yourself.
...

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: Webshare question
« Reply #2 on: January 16, 2008, 04:09:01 PM »
just go to opt/webshare/yourwebshare and I think you'll find your way yourself.

Just one more dir completes the mystery:

/opt/webshare/yourwebshare/files/

However, remember to reset the file/directory ownership rights of all files/dirs copied to www:www

Darrell

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Webshare question
« Reply #3 on: January 16, 2008, 06:13:27 PM »
I think using MC works for the admin but what about the client side of things. How does someone upload more than four files from the internet?

Instead of MC,  WINSCP might be a little more userfriendly
« Last Edit: January 16, 2008, 06:17:44 PM by imcintyre »

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Webshare question
« Reply #4 on: January 17, 2008, 02:16:58 AM »
Hi,
I'm running on sme server 7.2 and i've installed webshare via rpm and it works fine.
My question is: is there a way of uploading more than 4 files at once?

I've been looking for webshare documentation but found almost nothing, in fact most i've found about webshare was in this forum..


Thanks in advance


I don't have it installed, but by pulling the RPM apart it appears to be based on phpfm

Second, I'm not a php person, but have a look in /opt/webshare-tools/phpfm/incl/upload.inc.php

It's possible that the line for($i=0;$i<=3;$i++) is where you could make a change to increase the number of "simultaneous" uploads.

Now I'm off to have a play.

Edit:

Or this bit in the same file..
Code: [Select]
print "<table class='upload'>";
     print "<tr><td>$StrFirstFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";
     print "<tr><td>$StrSecondFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";
     print "<tr><td>$StrThirdFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";
     print "<tr><td>$StrFourthFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";
    print "</table>";

Edit:

Created a webshare named 'test'

Edited /opt/webshare/test/incl/upload.inc.php and /opt/webshare/test/lang/english.inc.php

Before...




After...



« Last Edit: January 17, 2008, 03:17:37 AM by william_syd »
Regards,
William

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

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Webshare question
« Reply #5 on: January 17, 2008, 12:52:37 PM »
 8)  Thx

Offline ruipedroca

  • ***
  • 86
  • +0/-0
Re: Webshare question
« Reply #6 on: January 17, 2008, 08:33:11 PM »
Thanks EdelingF, dmay, imcintyre and especially william_syd for having the time and patience to try and then post the screenshots!  :-D

It's because people like you that SME SERVER is such a great server!

Regards,
Rui Pedro
Live and let die

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Webshare question
« Reply #7 on: January 18, 2008, 12:29:56 AM »
William_Syd
How did you "pull the rpm apart"?

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Webshare question
« Reply #8 on: January 18, 2008, 08:18:00 AM »
William_Syd
How did you "pull the rpm apart"?

Under windows, with 7zip.

http://www.7-zip.org/

Regards,
William

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

Offline Boris

  • *
  • 783
  • +0/-0
Re: Webshare question
« Reply #9 on: January 18, 2008, 07:25:10 PM »
There are couple of advanced alternatives to webshare, that allow more control over the file structure. Both free to use and work very well with SME.
One called FileExecutive, another called Oliver. You may want to check them out.
Boris.
...

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Webshare question
« Reply #10 on: January 18, 2008, 11:14:27 PM »
It's my understanding from searching the web that webshare became oliver.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Webshare question
« Reply #11 on: January 19, 2008, 02:24:26 AM »
It's my understanding from searching the web that webshare became oliver.

I'm not sure if webshare is webshare .... :-?

The one on sme appears to be phpfm which starts life here (which is now inactive). It now appears to be offered commercially by this mob .

Some url's for the others. Check the screenshots and demos where possible.

FileExecutive
Oliver
Webshare
phpFM

Regards,
William

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