Transferring files between a Fedora 42 machine and a Windows 10 machine over a LAN using FileZilla involves a few key steps. The general process is to set up one machine as an FTP server (Fedora) and the other as an FTP client (Windows). Here's how you can do that:
- Plug one end of the LAN cable into the Ethernet port of the first laptop.
- Plug the other end of the LAN cable into the Ethernet port of the second laptop.
-
On Fedora:
- Open Settings and go to Network.
- Click on the gear icon for your wired connection.
- Under the IPv4 tab, switch from Automatic (DHCP) to Manual.
- Enter an IP address (for example,
192.168.1.100
), a subnet mask (usually255.255.255.0
), and you can leave the gateway blank if you're just connecting the two devices. - Click Apply.
-
On Windows 10:
- Open Control Panel > Network and Internet > Network and Sharing Center.
- Click on Change adapter settings from the left panel.
- Right-click on your Ethernet adapter and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Choose Use the following IP address and enter an IP address (e.g.,
192.168.1.200
), the same subnet mask (255.255.255.0
), and leave the gateway blank. - Click OK.
-
Test the connection by opening a terminal/command prompt on one machine and pinging the other (e.g., on Fedora run
ping 192.168.1.200
).If everything is set up correctly you should see an output similar to below:
Warning
Note that FTP is less secure since credentials are sent in plaintext.
-
Install
vsftpd
:Open a terminal on Fedora and install
vsftpd
by running the following command:sudo dnf install vsftpd
Once installed, start and enable the
vsftpd
service to run on boot:sudo systemctl start vsftpd sudo systemctl enable vsftpd
Check the status of the FTP server:
sudo systemctl status vsftpd
-
Open Firewall for FTP Access:
If your Fedora system has a firewall enabled, you may need to open port 21 (FTP's default port):
sudo firewall-cmd --add-service=ftp --permanent sudo firewall-cmd --reload
Now, on the Windows 10 machine, you will use FileZilla Client to connect to the Fedora FTP server.
-
Install FileZilla Client on Windows:
Download and install FileZilla Client from the official website.
Once installed, open the FileZilla Client.
-
Connect to the Fedora FTP Server:
-
In FileZilla, go to File > Site Manager.
-
Click on New Site and give it a name (e.g., "Fedora FTP").
-
Enter connection details:
- Protocol: FTP - File Transfer Protocol.
- Host: IP address of your Fedora machine (
192.168.1.100
). - Port:
21
(default FTP port). - Encryption: Use explicit FTP over TLS if available (optional).
- Logon Type: Normal.
- User: Your Fedora username (the one you use to log in to the Fedora machine).
- Password: Your Fedora password.
-
Click Connect.
FileZilla should now establish an FTP connection to your Fedora machine. Once connected, the right-hand pane in FileZilla will display the Fedora file system (remote site), and the left-hand pane will show your local Windows directories.
-
- Navigate to the folders you wish to transfer on either side and simply drag and drop files or folders between your Fedora and Windows machine.
- Wait for the file transfer to complete. FileZilla will show the progress in the bottom pane.
- If you need to see and transfer hidden files (like dot files/directories in Fedora), go to Server > Force showing hidden files in FileZilla.
That's it! This should allow you to transfer data between your Fedora 42 and Windows 10 machine over a LAN cable using FileZilla.