FTP
File Transfer Protocol: moves files between a client and a server (upload/download) on port 21. It sends data and logins as plain text, so use SFTP or FTPS for security.
Understanding FTP in QCE Digital Solutions Unit 4
What it does: A get command asks the server to send a file down to the client computer, which is downloading. SFTP encrypts the login and the files being moved, so an interceptor cannot read them. FTPS does the same using SSL/TLS. FTP uses port 21 by default. Port 443 is used by HTTPS. Standard FTP sends data and logins as plain text. Someone in a man-in-the-middle attack could read them. The server holds the files and responds to requests. The client connects to the server to upload or download. SFTP and FTPS are secure versions of FTP that protect the data and logins in transit.
Common mistakes: Python's ftplib module provides the FTP class (and FTP_TLS for the secure version). There is no SFTP class in ftplib, so the import should be 'from ftplib import FTP'. The ftplib method for changing the working folder on the server is cwd(), not cd(). The line should be ftp.cwd("/reports").
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 89–125) and word search (Modules 17–125).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
FTPFill in the Blanks
Spot the Error
Student with a class code? Join your class →