Koozali.org: home of the SME Server

Allow Wirte Access to I-Bay Account

Amazing Iceman

Allow Wirte Access to I-Bay Account
« on: September 11, 2003, 12:30:19 AM »
Is there a way to allow an I-Bay Account write access write? By default, SME only allows Read Access to an I-Bay Account.

Dan Brown

Re: Allow Wirte Access to I-Bay Account
« Reply #1 on: September 11, 2003, 12:35:47 AM »
Yes, you set up the ibay to allow write access in the server manager.  It's all in TFM.

Amazing Iceman

Re: Allow Wirte Access to I-Bay Account
« Reply #2 on: September 11, 2003, 01:06:25 AM »
Maybe I got misunderstood...
This is what I'm trying to accomplish.

I want to setup an i-bay (let's call the I-Bay: uploads and the password: cats)

I want to allow some people on the internet to connect to the I-Bay via FTP and upload files, but I don't want to create a user account for each individual, I just want to give them to login using:
Username: uploads (the name of the I-Bay)
Password: cats       (the password for the I-Bay)

Currently, they only have read access to the I-Bay; I want them to have write access as well. And I don't want to create a user account because I will need to give all users ftp access and that's not safe to do...

On the contrary, a single I-Bay with read/write access via FTP would be safe for my purposes.

Bill Pflaumer

Re: Allow Wirte Access to I-Bay Account
« Reply #3 on: September 11, 2003, 02:45:25 AM »
Goto http://www.webfilebrowser.org/ and try this simple php script. It has it's own Login dialog, so set your ibay for group:everyone, Group =RW, Internet:no password , dynamic content:enabled. Go thru the script to your liking and read the documentation. I set my php.ini to 25 MB. I love this script. You can make as many Ibays as you wish by copying the script into a different ibay and change the username and password in the script. BTW, the Username does not need to be the same name as the Ibay. I have been using this script for over a year, it's great for field service, ALL your tools are available at a click of a mouse. I got to go, I see he updated the script and need to read all about.

I doubt the username password is encrypted, I need to check, but either is ftp.

Bill

Bill Pflaumer

Re: Allow Wirte Access to I-Bay Account
« Reply #4 on: September 11, 2003, 02:56:05 AM »
Amazing Iceman

May I add to my above post. NO FTP Client Needed and the username/password you choose do not need to be addes to the sever user accounts.

Bill

Michael Smith

Re: Allow Wirte Access to I-Bay Account
« Reply #5 on: September 11, 2003, 04:49:31 AM »
There's also the webshare contrib ...

Amazing Iceman

Re: Allow Write Access to I-Bay Account
« Reply #6 on: September 12, 2003, 05:39:27 AM »
Thanks for your great suggestion, Bill.
I have installed it, and checked the program code, and it looks great.
I only have a problem uploading files. I keep getting this error:

Upload of file filename.ext aborted

I have checked the php.ini file and it complies with the requirements. I have even tried with very small files (1KB) and th problem is the same.

Do you have any idea why it doesn't work?
Could it be a bug in this latest version?

I'm using SME Server 5.6, by the way.

Thank you..

Bill Pflaumer

Re: Allow Wirte Access to I-Bay Account
« Reply #7 on: September 12, 2003, 08:29:53 AM »
Can you at least create a folder ? Chk permissions ? I will try to install the lastest script on a SME6B3 tomorrow, but I have no trouble from a server that started as a 5.1.2 and upgraded to SME 6B3. Check back at the website and read the FAQs. Once you get this going, you will be quite happy with it. Report back your findings!

Bill

Mark Thomas

Re: Allow Wirte Access to I-Bay Account
« Reply #8 on: September 13, 2003, 02:24:16 AM »
Bill, thanks for this one! Very nice.

I'm having the same problem as iceman, I can create a dir, file and even delete them, but I can not upload. *shrug*

I'm using 6beta3

BTW, does anyone know of a good tutorail for making custom-templates? I have read what I can find, but it doesn't sink in. I would like to make a custom-template for the php.ini.

Bill Pflaumer

Re: Allow Wirte Access to I-Bay Account
« Reply #9 on: September 13, 2003, 11:44:40 PM »
NOW  I REMEMBER. I installed the lastest Version of webfilebrowser to a SME6B3 box and it failed the same way you guys described. YOU NEED to disable the PHP SANDBOX introducted in V5.1.2. I don't have time to do this today (Party) but if one of you guys can do a search on this site for 'php sandbox' to disable it and report your findings.

Thanks

Bill

Mark Thomas

Re: Allow Wirte Access to I-Bay Account
« Reply #10 on: September 14, 2003, 05:26:00 AM »
Bill, you did it again! That seems to have solved the problem. I can now upload files.

While searching I found this by Han;

These scripts use copy to transfer the files from the /tmp directory to the ibay. If you replace copy by move_uploaded_file it works without disabling the security feature.

link:
http://forums.contribs.org/index.php?topic=17023.msg66025#msg66025

Anyone know were to find this in the config files?

Also, it appears that I have succesfully created my first /custom-template/  !

Bill Pflaumer

Re: Allow Wirte Access to I-Bay Account
« Reply #11 on: September 14, 2003, 07:34:20 PM »
I followed the Disable PHP Sandbox HowTo here http://www.e-smith.org/bboard//read.php?f=3&i=11473&t=11473 . Follow it to the letter (even the period after the 95Add* .)

Bill

Ian

Re: Allow Wirte Access to I-Bay Account
« Reply #12 on: September 15, 2003, 01:24:44 AM »
It tells me to make it session based i need the PHP session management feature activated.   How do i activate it and set up usersBill Pflaumer wrote:
>
> Goto http://www.webfilebrowser.org/ and try this simple php
> script. It has it's own Login dialog, so set your ibay for
> group:everyone, Group =RW, Internet:no password , dynamic
> content:enabled. Go thru the script to your liking and read
> the documentation. I set my php.ini to 25 MB. I love this
> script. You can make as many Ibays as you wish by copying the
> script into a different ibay and change the username and
> password in the script. BTW, the Username does not need to be
> the same name as the Ibay. I have been using this script for
> over a year, it's great for field service, ALL your tools are
> available at a click of a mouse. I got to go, I see he
> updated the script and need to read all about.
>
> I doubt the username password is encrypted, I need to check,
> but either is ftp.
>
> Bill

Ian

Re: Allow Wirte Access to I-Bay Account
« Reply #13 on: September 15, 2003, 02:00:43 AM »
I am able to now upload buyt It is giving me the message now unable to move file to trash can any help?

Ian

Re: Allow Wirte Access to I-Bay Account
« Reply #14 on: September 15, 2003, 02:22:41 AM »
Ian wrote:
>
> I am able to now upload buyt It is giving me the message now
> unable to move file to trash can any help?

I got my too problems I post earlier resolved now I am having one last problem I can trasfer a file small file 2mb or less but anything over that I get page can not be displayed  Can some on help me I want to set the max transfer too a 1Gb in the php.ini and in the app can some one tell me where i need to update these?


Please I wont post any more questions after this