Koozali.org: home of the SME Server

FTP setup

Offline mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
FTP setup
« on: August 10, 2005, 06:50:41 PM »
What is the proper settings for allowing ftp?

I enabled FTP access today in an ibay on SME 6.0.1. I set the global remote access to allow ftp. I set the ibay to allow ftp and read/write to group. The ibay does require a password.

I can connect to ftp.mydomain.com. I can download files. I cannot upload, getting permission denied errors.

BTW, this is temporary set up. I will disable the ftp as soon as the client completes the upload.
- Mark

gbaird

ftp access
« Reply #1 on: August 10, 2005, 07:35:16 PM »
I believe only root or admin can login to the ftp root

If you are trying to get to an ibay by ftp you need to
use a ftp client or use your browser by the following line

use the ftp client if you need to upload

ftp://username@ftp.yourserver.com

you will be prompted for a password

the person logging in must have access rights to upload

check out this contrib

http://mirror.contribs.org/smeserver/contribs/dungog/files/dungog-proftpd-chroot-0.1-6.noarch.rpm

it may help to change the access you need

Offline mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
FTP setup
« Reply #2 on: August 10, 2005, 08:02:39 PM »
Thanks for the reply.

I don't want the client to have root access. I can handle that sort of thing already. Also, the user need not upload to an HTML folder or similar.

My need is to allow a client to upload a set of files for a project. These are file far too large for email attachment. So, just a temporary "drop box" thing.

I thought that if I enabled FTP for an ibay, and also did so for the site, then a visitor would be able to upload a file.

Perhaps I am looking at this the wrong way.
- Mark

Offline mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
FTP setup
« Reply #3 on: August 10, 2005, 08:05:17 PM »
Oh, yes, and BTW, I can open an ftp session just fine. I can use ftp download. It is only the upload that runs into trouble.

Thanks, again.
- Mark

gbaird

ftp access
« Reply #4 on: August 10, 2005, 09:16:21 PM »
You don't have to give them root access

just create the user account and they can ftp to their home folder - you will have to move the files to where you want them placed

also take a look at this link may do what you want

http://mirror.contribs.org/smeserver/contribs/index.php?subdir=dmay%2Fsmeserver%2F5.x%2Fcontrib%2Fwebshare&sortby=name

Offline mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
ftp access
« Reply #5 on: August 10, 2005, 10:11:28 PM »
That looks very interesting. Darrell May certainly has contributed a lot of good work. Thanks, Darrell!

Am I right to assume I can disable the FTP access one the web share is set up?
- Mark

gbaird

webshare
« Reply #6 on: August 10, 2005, 10:30:52 PM »
YES

I have tried the dmay webshare program on sme 6.5 & 7.0

and have not found any problems 6.01 should be no problem either

Offline mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
webshare [was "ftp access"]
« Reply #7 on: August 10, 2005, 10:50:31 PM »
Many thanks. I will give this a try.
- Mark