WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tftp server - connection refused  (Read 6079 times)

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
tftp server - connection refused
« on: April 24, 2009, 03:13:12 AM »
tftp server is on; when i am doing

ftp localhost

i get: connection refused

same result when i try: ftp ip.of.another.machine

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: tftp server - connection refused
« Reply #1 on: April 24, 2009, 11:17:52 AM »
Tftp and ftp are different protocols. If you need a proper FTP server, see the vsftpd extension.

On the other hand, if tftp is enough, see the busybox documentation. It's a much simpler protocol than ftp, I don't remember right now if it even had proper authentication.
The only barriers that can stop you are the ones you create yourself.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tftp server - connection refused
« Reply #2 on: April 24, 2009, 02:35:50 PM »
I added tftp server to Tiny Core so that it is trivial to transfer files from one Tiny Core machine to another.

From control panel select TFTP Server. You will need to know the IP address of this, the server, machine.

Then from another Tiny Core machine, or one that has a tftp client, you can transfer a file like this:

tftp -g -r file_name_to_Fetch 192.168.1.22

-g = get
-r = remote

See Busybox command help for more details and options:
http://www.busybox.net/downloads/BusyBox.html

But as Curaga noted, tftp is not the same as ftp.
10+ Years Contributing to Linux Open Source Projects.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: tftp server - connection refused
« Reply #3 on: April 25, 2009, 08:24:58 AM »
thanks for the precisions. However, would it not be easier to have a standard ftp-server in the core? I liked very much my experience with the ftp server of dsl where you just have to active it in the control panel, and it works immediately with usual ftp protocols. For example: yesterday, I would like to connect the tftp-server of TC from a box with DSL on it, but did not get the connection because I did not have a tftp protocol. I know that vsftpd exists as extension, but I find it easier to have a common ftp-server in the core of tc which would be reachable quickly with ftp CLI. Just my opinion.