GCSE · Computer Science · Edexcel · Spec 1CP2

FTP protocol

Your phone, your laptop and a server were all built by different companies. So how do they understand each other?

Computer Science · Networks

Which protocol does the job?

Which protocol is used for each job?

Still to sort

FTP (0)

Transferring and sharing files across the internet.

Where the line is: If the job is moving files (uploading them or downloading them) between computers, it belongs here.

HTTP (0)

Requesting and transferring web pages from web servers.

Where the line is: It also gets data from a server, which is why it gets mistaken for the file protocol. Its job is web pages.

SMTP (0)

Sending emails between mail servers.

Where the line is: This is about emails travelling from one mail server to another.

IMAP or POP (0)

Accessing and downloading emails.

Where the line is: This is about getting hold of email that is already waiting for you, not sending it on between servers.

6 of 6 still to sort.

Six everyday network jobs, four protocols. Pick a job, then pick the protocol you think handles it. Watch which job keeps tempting you to say FTP.

Exam line: Match the job to the protocol: file transfer is FTP, web pages are HTTP, sending email between mail servers is SMTP, and accessing or downloading email is IMAP or POP.
Watch out: Several of these protocols get data from a server, so 'it fetches things' does not make a protocol the file one. Each protocol has its own job.

Computer Science · Protocols

So what is a protocol, really?

A laptop made by one company and a phone made by another both load data from the same server, and it all arrives correctly.

Which is closest to what you think a protocol is?
How sure are you?

Exam line: A protocol is a set of rules for communicating. Because devices all follow the same protocols, devices from different manufacturers can send and receive data correctly.

Computer Science · FTP

What the server does with a file request

Step through one FTP request and watch the server make a decision. The other arrow is the road not taken.

This request is fine. Which route will the server take at the decision? Step through to find out.

NoYesA file isrequested usingFTPHas there beena problem withthe request?Server opens adata connectionFile is sentover the dataconnectionServer sendsan error codeEnd

Output

 

Step 1: You ask the server for a file using FTP.

1 / 5

Step with Next and watch which arrow the decision takes.

Step 1 of 5: You ask the server for a file using FTP..

Exam line: When a file is requested using FTP, the server either opens a data connection over which the file is sent, or sends an error code if there has been a problem with the request.
Watch out: There are two possible outcomes, and this trace shows only one of them. The other route ends with the server sending an error code.

Computer Science · Structure

Where FTP sits in the TCP/IP model

Tap a layer or a protocol to see what it does.

Tap any part of the diagram to see what it does.

Computer Science · FTP

Write it, then mark it

Describe the purpose of FTP and what happens when a file is requested using FTP. [3 marks]

0 words · your answer stays on this page and is not sent anywhere.

Exam line: Give the purpose (what FTP is for), then the two outcomes of a file request. Each is a separate point.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Devices follow shared rules to talk to each other, and one set of rules has the single job of moving files.

What you need to know

  • A protocol is a set of rules that lets devices communicate with each other.
  • Every device follows the same protocols, so devices from different manufacturers can send and receive data correctly.
  • Have a goYour mate Dev insists a phone and a laptop from different brands can't possibly understand each other's data. Is Dev right? Say why in a few words.

    No. Both follow the same protocols.

    It is the shared rules that matter, not who made the device, so different manufacturers' devices can still send and receive data correctly.

  • FTP (File Transfer Protocol) transfers and shares files across the internet, uploading and downloading between computers.
  • When a file is requested using FTP, the server opens a data connection to send it.
  • If there has been a problem with the request, the server sends an error code instead.
  • Have a goYou ask an FTP server for a file, but something is wrong with your request. What comes back?

    An error code.

    A request has two outcomes, a data connection for the file or an error code, and a problem with the request means the error code.

  • TCP/IP is a conceptual four-layer model and set of protocols for internet communications.
  • FTP is one of the protocols used in the application layer, as are HTTP, HTTPS, SMTP, POP and IMAP.
  • Have a goFinish the sentence: FTP is one of the protocols used in the ____ layer of the TCP/IP model.

    application

    FTP shares the application layer with HTTP, HTTPS, SMTP, POP and IMAP rather than working in the other layers.

  • Specific protocols do their own functions at dedicated layers rather than operating at all layers.
  • HTTP handles web pages, SMTP sends email between mail servers, and IMAP and POP access and download email. FTP's job is file transfer.

The big picture

A protocol is a set of rules that lets devices communicate, so devices from different manufacturers can send and receive data correctly. FTP is the application-layer protocol for uploading and downloading files between computers: when a file is requested, the server opens a data connection for it or sends an error code. HTTP, SMTP, IMAP and POP have different jobs, so file transfer is what marks FTP out.

Key points

1A protocol is a set of rules for communicating, and shared protocols let devices from different manufacturers send and receive data correctly.
2FTP is the protocol for transferring and sharing files, uploading and downloading between computers.
3A file request using FTP ends in one of two ways: the server opens a data connection to send the file, or it sends an error code if there has been a problem.
4FTP is an application-layer protocol, in the same layer as HTTP, HTTPS, SMTP, POP and IMAP, and each protocol has its own job at its own dedicated layer.
5Choose the protocol by the job: files are FTP, web pages are HTTP, email between mail servers is SMTP, and accessing or downloading email is IMAP or POP.

Worked example

Problem

A school lets teachers put worksheet files onto the school server and fetch them again later. Which application-layer protocol suits that job, and what does the server do when a teacher asks for a file?

⚠ Watch out

Thinking any protocol that gets data from a server must be the file one. HTTP gets web pages from servers, and IMAP and POP download email, but each application-layer protocol has its own job. FTP's job is file transfer.

🧠

Memory hook

FTP: F for files, T for transfer. If the job is moving files, it is FTP. And when you ask for one, the server either opens a data connection or sends an error code.

✓

Check yourself

Cover the page and say out loud: what a protocol is, what job FTP has, and the two things a server can do when a file is requested using FTP.

Flashcards

(12)
What is a protocol?
A set of rules used to allow devices to communicate with each other.
Why can devices made by different manufacturers send and receive data correctly?
Because all devices follow the same protocols.
What does FTP stand for?
File Transfer Protocol.
What is FTP used for?
Transferring and sharing files across the internet: uploading and downloading files between computers.
What happens when a file is requested using FTP?
The server opens a data connection over which the file is sent, or sends an error code if there has been a problem with the request.
What does an FTP server send if there is a problem with the request?
An error code.
What is TCP/IP?
A conceptual four-layer model and set of protocols for internet communications.
Which TCP/IP layer is FTP used in?
The application layer.
Name other protocols used in the same layer as FTP.
HTTP, HTTPS, SMTP, POP and IMAP.
Do specific protocols operate at every TCP/IP layer?
No. They perform their own functions at dedicated layers.
What is HTTP used for?
Requesting and transferring web pages from web servers.
What are SMTP, IMAP and POP used for?
SMTP sends emails between mail servers. IMAP and POP access and download emails.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More Edexcel GCSE Computer Science topics

See the full Edexcel Computer Science curriculum →

How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 21 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.