Transfering files over the network with RFTPS

In this tutorial we will go over the process of transferring files over the network from one device to another. We will be using an application that I built in Rust that relies on the FTP protocol to send and receive files over the network, the sender/client can be any device (mobile phone,laptop,desktop) for the server we currently support Windows, Linux and MacOSX.

Here is some technical lingo you might not know and will come across in this tutorial:

  • Rust – A programming language known for being fast, safe, and good for building secure applications.
  • FTP (File Transfer Protocol) – A way to move files between computers over the internet, often used to upload websites.
  • Sender/Client - The device sending the data
  • Server - The device receiving the data
  • Directory – Another word for a folder on your computer where you store files.
  • Path – A way to tell the computer where a file or folder is located.
    • Absolute path – The full location of a folder/file E.g,
      • C:\Users\YourUsername\Desktop\NewFolder
      • C:\Users\YourUsername\Desktop\NewFile.txt
    • Relative path – A location based on where you currently are.
  • IP Address
    • Local - An address that exists only inside your home network and is between specific ranges, each machine has it’s unique address inside one of these ranges
    • Public - The address that your devices use to connect to the internet, normally you have only 1 public ip address for all your devices, your router is in charge of internally resolving the requests to each machine’s private address

The application(RFTPS) is open source, feel free to look trough it’s code, submit any requests, or create/report a new issue

Connecting client to server

In order to connect to the FTP server you will need to install an FTP client on the device that will be sending the files, some examples below.

If you have any issues with RFTPS itself feel free to submit them on github and if you experience any issues you can reach out to me trough my socials