You are not logged in.

#1 2008-08-05 20:59:50

colbert
Member
Registered: 2007-12-16
Posts: 809

How to make my own ftp?

Probably quite the silly question, but I have my own web server set up and running fine. I'm curious how to make my own FTP? Currently I have No-IP resolving my IP so I can access my home server externally, if this matters in this case.

TIA smile

Offline

#2 2008-08-05 21:08:19

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: How to make my own ftp?

I'm using www.dyndns.com for a hostname and vsftpd as ftp-daemon.

Offline

#3 2008-08-05 21:33:22

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: How to make my own ftp?

Thanks Freakguard, I just installed vsftpd via the Arch wiki and it appears to have gone well, but what is the host I use to connect? I tried ftp.192.168.x.x for my IP, as well as ftp.192.168.x.x:22, but couldn't get it going.

Offline

#4 2008-08-06 00:30:12

addox
Member
From: Leeds, UK
Registered: 2008-08-06
Posts: 6

Re: How to make my own ftp?

You should be able to connect using a link like  ftp://whatever.no-ip.org/  from any computer. If that doesn't work you may not have port forwarding setup properly on your router or your /etc/hosts.deny is blocking access.

Offline

#5 2008-08-06 00:58:06

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: How to make my own ftp?

Okay in my hosts.deny I have:

#
# /etc/hosts.deny
#
 
#ALL: ALL: DENY

# End of file

And I added "vsftpd: ALL" to my hosts.allow. I tried my url and it doesn't connect. I tried in FireFTP in Firefox and it says unable to make connection. I just tried Gftp and it said:

Trying 192.168.1.100:20
Cannot connect to 192.168.1.100: Connection refused
Waiting 30 seconds until trying to connect again

Offline

#6 2008-08-06 01:05:51

SiB
Member
Registered: 2008-07-03
Posts: 38

Re: How to make my own ftp?

Try connecting on port 21.

Offline

#7 2008-08-06 01:09:00

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: How to make my own ftp?

Thanks SiB! Works! Why in the vsftpd.conf does it say:

# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES

Of course I must be misunderstanding the usage of this port?

Thanks again!! smile

EDIT: What is a good CLI ftp app?? I'd like to keep it in screen.

Last edited by colbert (2008-08-06 01:11:46)

Offline

#8 2008-08-06 01:21:33

SiB
Member
Registered: 2008-07-03
Posts: 38

Re: How to make my own ftp?

colbert wrote:

Thanks SiB! Works! Why in the vsftpd.conf does it say:

# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES

Of course I must be misunderstanding the usage of this port?

Thanks again!! smile

EDIT: What is a good CLI ftp app?? I'd like to keep it in screen.

#1 I guess the FTP protocol use port 21 to connect and the neighboring port 20 to transfer data. Only a wild guess !

#2 The old netkit-ftp client is okay in cli, you could also try ncftp.

Offline

#9 2008-08-07 20:43:39

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: How to make my own ftp?

Thank you so much SiB! ncftp works like a charm, brilliant little program too! smile

Offline

Board footer

Powered by FluxBB