what does FTP stand for
File Transfer Protocol
what is the main aim of the FTP
moves files between 2 devices
what ‘application’ is the FTP
client server application
what happens in the ‘client’ side of the FTP
what happens in the ‘server’ side of the FTP
examples of where FTP will be used
what is step 1 for the FTP
user requests to connect to FTP server and provides username and password
what is step 2 for the FTP
once connected, user types dir and gets a directory listing from the server (shows a single file)
what is step 3 for the FTP
finally, the user types ‘puzzle1.txt’ and requests the file from the server
the file is transferred to the users computer
what does HTTP stand for
HyperText Transfer Protocol
what is the main aim for HTTP
communication over the internet between a HTTP client and HTTP server
what is HyperText
system of linked pages
what ‘architecture’ is HTTP
client - server architecture
what messages types does HTTP use
GET, HEAD, POST, PUT, DELETE
what does GET do (HTTP)
requests a resource from the server (eg a web page)
what does HEAD do (HTTP)
requests just the header of the data (metadata) from the server
what does POST do (HTTP)
sends data to the server from a web form
what does PUT do (HTTP)
sends data to the server to be uploaded as a resource (eg uploading a photo)
what does DELETE do (HTTP)
tells the server to delete a resource (eg deleting a photo)
what is the ‘client’ in the HTTP
the web browser on your device
what does the ‘client’ do in HTTP
what is step 1 in HTTP
server waits and listens for requests
what is step 2 in HTTP
client sends HTTP request for a web page to the server
what is step 3 in HTTP
server receives request