LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   proftp: how to configure to have popup-login when using browsers (https://www.linuxquestions.org/questions/linux-networking-3/proftp-how-to-configure-to-have-popup-login-when-using-browsers-261206/)

takatam 12-01-2004 02:14 AM

proftp: how to configure to have popup-login when using browsers
 
i'm trying to setup an ftp server such that a specific user (or group) can download files (locked into a specific directory) while others can also upload data into this directory. this works quite well so far, except that i can't get it to work nicely when using a browser.

when doing ftp://192.168.0.1 then i get a popup message saying: 530 Login Incorrect. how can i configure proftp to prompt me with a login-popup so that i can enter username and password? which keyword/parameter do i need to set? or is this a client issue?

i know it can be done using user@192.168.0.1 but i'd like to make it easier for the users.

thanks for the help,

T

******************************
here's my proftpd.conf:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "FTP Server"
ServerType standalone
DefaultServer on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart on

# Port 21 is the standard FTP port.
Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
# ch: 24.11.04: don't want ppl to write
Umask 222

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 15

# Set the user and group under which the server will run.
User nobody
Group nogroup

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>

# Needed for NIS.

PersistentPasswd off

# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#
# put all users of the group guestg into /data/ftp
DefaultRoot /data/ftp guestg

# ch: 23.11.2004
ServerIdent off
DisplayLogin /etc/proftp.loginmsg
AccessGrantMsg "Access granted for %u."
# allow resume downloads
AllowRetrieveRestart


All times are GMT -5. The time now is 02:06 AM.