50

Image shows a grid of four columns and eight rows detailing the difference between four common types of file transfer: tftp, ftp, sftp, and scp; across eight data points: transfer protocol, standard port, speed overview, security overview, authentication support, encryption support, and connection orientation.

  • TFTP : UDP, port 69, Fast, Less Secure, No Authentication, No Encryption, and Connection-less
  • FTP: TCP, port 20, 21, Slow, Less Secure, Authentication, No Encryption, and Connection-oriented
  • SFTP: TCP, Port 22, Slow, Secure, Authentication, Encryption, and Connection-oriented
  • SCP: TCP, Port 22, Fast, Secure, Authentication, Encryption, and Connection-oriented

Src: Twitter via LinkedIn.

top 14 comments
sorted by: hot top controversial new old
[-] KingSlareXIV@infosec.pub 11 points 10 months ago

Forgot the one everyone wishes they could forget - FTPS !

Might be worth noting that SCP is non- interactive file transfer only, whereas FTP/SFTP can do interactive sessions and management functions as well.

[-] leprasmurf@lemmy.geekforbes.com 4 points 10 months ago

Pssh, Real techs use uuencode through the terminal to copy files.

I joke, but I've resorted to it when I only had a web based console.

[-] KingSlareXIV@infosec.pub 2 points 10 months ago

Oh man, I haven't seen uuencode in so long, I basically forgot it existed until I read your comment!

[-] MNByChoice@midwest.social 7 points 10 months ago* (last edited 10 months ago)

Is tftp used for anything other than booting disk images?

[-] Bishma@discuss.tchncs.de 5 points 10 months ago* (last edited 10 months ago)

In the last 10+ years I've only used TFTP with Cisco network appliances.

I'll never stop being fascinated by the niches that some tech is able to find.

[-] leprasmurf@lemmy.geekforbes.com 4 points 10 months ago* (last edited 10 months ago)

I've only really used it for net boot (https://netboot.xyz/) myself. Maybe OOB back in the day with some iLo shenanigans, but otherwise I stick with rsync.

[-] vettnerk@lemmy.ml 2 points 10 months ago

While that is a very common use case (bootp), I've ran across a lot of hardware that use it for config upload and download:

  • To upload a config to an industrial grade Garettcom switch you need to use tftp. Same goes for firmware updates and config backups.

  • This Cisco phone I was battling with once tried to download a config vea TFTP feom its DHCP server, assuming its DHCP server was part of the SIP infrastructure. The above mechanism was also used successfully by some other proprietary hardware built inhouse for firmware updates.

[-] mlg@lemmy.world 7 points 10 months ago

Lol i'm pretty sure SFTP, SCP, and rsync are pretty much all the same when it comes to speed. I've used all three very frequently, and by both bitrate and total time, only rsync or scp very rarely edges out for single small files.

[-] HubertManne@kbin.social 2 points 10 months ago

thanks. its been awhile since I was using them a lot but even years ago it seemed pretty much all the same.

[-] chiisana@lemmy.chiisana.net 4 points 10 months ago

I don’t understand (in this day and age) how any of these protocols have comparable performance difference to need the “Fast”/“Slow” row. None of these protocols would be computationally intensive enough to make a difference in performance, and should be only limited by line speed, no?

[-] JohnSwanFromTheLough@lemmy.world 3 points 10 months ago* (last edited 10 months ago)

Well I know when I'm transferring firmware to a Cisco switch/router. TFTP is by far the slowest.

[-] caseyweederman@lemmy.ca 2 points 10 months ago
[-] Unforeseen@sh.itjust.works 1 points 10 months ago

This image wants me to punch someone right in the watermark

[-] Eideen@lemmy.world 1 points 10 months ago

Tftp is only fast when latency is low. It send only one block at the time, and only on request.

this post was submitted on 05 Sep 2023
50 points (89.1% liked)

Sysadmin

7306 readers
1 users here now

A community dedicated to the profession of IT Systems Administration

No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
!lemmy@lemmy.ml
!lemmyworld@lemmy.world
!lemmy_support@lemmy.ml
!support@lemmy.world

founded 1 year ago
MODERATORS