PDA

View Full Version : FTP problem!


memis
23rd April 2008, 03:12
As I enable access ftp from ftp clients?. On that site, only allows you to upload a file from: (
I have to climb over a file or folder at once?

Or some other solution.

till
23rd April 2008, 10:32
May you please explain this a bit more.

memis
23rd April 2008, 15:11
------------------------ Español --------------------------------------------------------------------------------------------

Desde la opcion web ftp del ISPConfig, solo podes subir un archivo, y yo lo quiero por ejemplo es subir una carpeta, osea dejar subiendo una carpeta e irme y cuando vuelva, que se halla subido, osea subir de forma desatendida.

Quise conectarme con un programa ftp y me rechaza la conexion. Yo quiero habilitar la opcion de que se puedan conectar con programas ftp, y/o agregar una funcion en la web que permita subir carpetas y no solo un archivo.

------------------------ English / TRaducido x google -----------------------------------------------------------------

Since the option of ISPConfig FTP site, we can only upload a file, and I want to raise is such a folder, osea let go and climb a folder and when I come back, which is uploaded, osea climb so neglected.

I wanted to connect with an FTP program and I rejected the connection. I want to empower the option that can connect with FTP programs, and / or add a function on the website that allows upload files and not just a file.

memis
24th April 2008, 00:05
help¿?¿?¿?¿?¿¿?¿ :(

till
24th April 2008, 00:20
Which Linux distribution do you use?

memis
24th April 2008, 00:31
Centos 5.1.
Server FTP: proftpd

falko
24th April 2008, 17:07
Did you enable FTP on the Basis tab of the web site, and did you create an admin user on the User & Email tab?
Can you log in with that user using FTP?

memis
24th April 2008, 18:38
If all that work for me, but what does not work for me is access via FTP programs, I only works via Web. But since the Web could only upload a file and I want to raise such a folder and from the web client has IPSConfig I can not. I want to enable access via FTP programs or put another client FTP site.

Another question, as I create ftp users other than mail accounts?

falko
25th April 2008, 17:48
Another question, as I create ftp users other than mail accounts?
No, that's the same.

Have you tried both active and passive transfers in your FTP clients? What's the output of iptables -L?

memis
25th April 2008, 18:52
iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- anywhere 127.0.0.0/8
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
ACCEPT all -- anywhere anywhere
DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
DROP all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere

Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain PAROLE (9 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain PUB_IN (4 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:http
PAROLE tcp -- anywhere anywhere tcp dpt:hosts2-ns
PAROLE tcp -- anywhere anywhere tcp dpt:pop3
PAROLE tcp -- anywhere anywhere tcp dpt:imap
PAROLE tcp -- anywhere anywhere tcp dpt:https
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT udp -- anywhere anywhere udp dpt:27015
ACCEPT udp -- anywhere anywhere udp dpt:27016
ACCEPT udp -- anywhere anywhere udp dpt:27017
ACCEPT udp -- anywhere anywhere udp dpt:27018
ACCEPT udp -- anywhere anywhere udp dpt:27019
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain PUB_OUT (4 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere


-------------------
If I turn off the following line Include /etc/proftpd_ispconfig.conf
in /etc/proftpd.conf I have access via FTP programs. But so users can write him I do chown to the directory.

falko
26th April 2008, 14:43
If I turn off the following line Include /etc/proftpd_ispconfig.conf
in /etc/proftpd.conf I have access via FTP programs. But so users can write him I do chown to the directory.
If you don't need anonymous FTP, you can leave that line out.