I wonder how I can transfer files between two machines running ubuntu using FTP? Also what is the best fastest configurations to transfer files over ubuntu (cifs, smb, ftp,...)? Also is it worth it to modify the kernel to as shown here https://darksideclouds.wordpress.com/2016/10/10/tuning-10gb-nics-highway-to-hell/ ?

  • 1
    sftp is usually readily available and offers a secure alternative to ftp. Do you have specific reasons for using the latter? About the "best" way: it is generally found by benchmarking, it depends on you systems and on your exact use case (this also applies to kernel tweaks). – fra-san Oct 10 '20 at 11:10
  • @fra-san So can you tell me how to do transfer between to Linux workstations using sftp? – Tak Oct 10 '20 at 11:29
  • 1
    I'd suggest looking at existing posts, e.g. askubuntu.com/q/420652/882661. Most of the work is setting up the OpenSSH server. Then, as a basic an not-so-convenient way, you can connect using sftp server and transfer files in a ftp-like fashion (get, put, ...). Or use sshfs to mount a remote directory locally. Or connect by the means likely provided by your graphical file manager. – fra-san Oct 10 '20 at 12:12
  • 2
    As I said, IMO there is no "best" way. Also, Stack Exchange's Q/A format isn't really good for this kind of discussion. My only suggestion would be to edit your question to make it focus on a specific issue and answerable in a not-too-subjective way. (I'll also delete my comments here, I don't think they would be useful to others). – fra-san Oct 10 '20 at 13:04
  • 1
    My two cents worth of information: I instatl openssh-server in one of the computers and use sftp a lot (for single files or a few files), and rsync, particularly when I want to copy or backup a whole set of files (typically a directory tree) . Try them and stay with what works best for you. – sudodus Oct 10 '20 at 15:24

Have you've looked at rsync? That may server you better than ftp.

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.