My use case is I’m transferring large already encrypted files between two servers connected via wireguard.
Is there any benefit to SFTP over FTP in this case?
My use case is I’m transferring large already encrypted files between two servers connected via wireguard.
Is there any benefit to SFTP over FTP in this case?
2 Comments
outcide@kbin.social · 4 pts · 3y
Personally, I always use rsync for these sorts of jobs. Works over SSH so don't need anything on the server except SSH, if the trasfer gets interrupted it will resume from where it left of. Overhead from SSH is pretty minimal, but if you really want thigns to go as fast as possible, you can setup an rsync server ...
If you don't want to use rsync, just use SFTP or SCP.
overpear@lemmy.ml · 4 pts · 3y
gmg@beehaw.org · 2 pts · 3y
Well, FTP will only be faster if the CPU —rather than the network— is the bottleneck, which basically means it won't be any faster.
overpear@lemmy.ml · 1 pts · 3y
fiasco@possumpat.io · 2 pts · 3y
I... think the only difference is that potential eavesdroppers could determine the number of files, and their rough size. And I guess... the filesystem location on the target server. I mean the main thing that'll be unencrypted is the FTP headers, so whatever else is in there.
Estinos@lemm.ee · 1 pts · 3y
wizjenkins@lemmy.wizjenkins.com · 1 pts · 3y
Not really unless you want to hide the file names. Those are sniffable with FTP alone.
But SFTP is so good now I just use it for everything.
TheFrenchGhosty@lemmy.pussthecat.org · 1 pts · 3y
boblemmy@lemmy.world · 1 pts · 3y
The difference is small for the transfer of large files. The main difference is that SFTP is built on SSH, while FTP is built on TCP, so FTPS is required if transmission encryption is required.