new user can't ftp

rldev

Verified User
Joined
May 26, 2004
Messages
1,003
I know this sounds crazy, but I forgot how a new user can ftp before his/her domain propogates.

In this case the user has their own ip address. I try to use this to ftp, but it will not let me in.
 
The IP address is used to find the server. It's not part of the ftp protocol.

Once the domain resolves to the proper IP address, it can be used to find the server, but otherwise, it's not part of the ftp protocol either.

So that shouldn't matter.

The site user logs in as:

server: ip.nu.mb.er
login: username
password: password

And that should work the same as:

server: example.com
login: username
password: password

Jeff
 
This is what I thought. It does not work, it rejects my login, which is correct. I asked this question because I thought maybe I forgot something or was going crazy.

I use:

server: ip address
username
password

I have tried resetting the password and this does not help.
 
The problem is that SSH must be checked on order for ftp to work. How does this make any sense? I have to grant a user SSH access in order for them to have FTP rights? What am I missing?
 
I never saw that before; we don't allow shell access and FTP works fine for our users.

Have you checked your /etc/proftpd.conf file against a known good one?

Do you have an /etc/proftpd.passwd file?

Jeff
 
The problem was with the proftpd.conf. I suppose in one of the upgrades the conf was overwritten by the standard proftpd.conf. I copied over the DA proftpd.conf as per John's instructions. How can I prevent this from being overwritten with future proftpd updates?
 
Hi, this interests me too.

I'm trying to create a new FTP user, for my clients be able to UL or DL files.

I followed the DirectAdmin help :
username : [email protected]
pw
server : www.domain.com/gary

The system add the user Gary, the floder Gary, but when I try to connect with my FTP client, it says “there is no host by that name“.

Tried several times with no more chance.

:-(
 
Hello,

"no host by that name"... are you actually using domain.com? :)
You need to replace "domain.com" with your own domain name.
Also, it needs to resolve.

You can use your IP instead to connect to, and use [email protected] as the login, as ftp is not named based, so you can use IPs to make the original connection in case your domain does not yet resolve.

John
 
Back
Top