PDA

View Full Version : Ftp


kassie
9th April 2008, 07:43
Hi All,

Everything working great. My FTP is working, but very slow to open the directories and bring up the welcome message when logging in. When i transfer file it takes long to start the process, but as soon as the transfer starts it is quick.

Any suggestions

I Use ISPConfig 2.2.21 on Ubuntu 7.04 Perfect Setup

kristaps
10th April 2008, 13:35
Your problem is related to active passive mode probably.

Add the following
“PassivePorts 5000 5500”
line after “Port 21”
in “vi /etc/proftpd.conf”

And in ispconfig firewall rules open ports “name:FTP Pasive range:5000:5500 prot:tcp active:yes”

Restart ftp “/etc/init.d/proftpd restart”

kristaps
10th April 2008, 13:53
More:

Add
IdentLookups off
ServerIdent on "FTP Server ready."

after
DefaultRoot ~

Disable:
# Bar use of SITE CHMOD by default
# <Limit SITE_CHMOD>
# DenyAll
# </Limit>

# Include /etc/proftpd_ispconfig.conf

kassie
13th April 2008, 14:45
Where do i add these lines???

Sorry... Newbie

falko
14th April 2008, 16:16
Where do i add these lines???

In /etc/proftpd.conf.

kristaps
14th April 2008, 16:43
Sorry: e-mail server went down :(
Understand what you are doing otherwise You can make security hole.
Read proftpd manual – my post is pointer to right answer!