CiTi · Computer Coding · Year One · Unit 3
A lesson within “My First Website & Server-Side Management”
How does a web file travel from my computer to the internet? What tools do developers use to upload and manage website files on a live server?
Demonstrates basic understanding in:
Web Site Management File Management Fundamentals Organizational SkillsHands-On:
#3 Build and deliver a website from a client brief
#6 Work a problem through Define → Prepare → Try → Reflect
Professional:
#8 Manage your own focus
#9 Document as you go
Client-server model: understanding the distinction between local files and a live server, and how data travels between them via a secure protocol.
Following multi-step technical setup procedures precisely, documenting credentials and configurations, and independently verifying that work is live.
SFTP connection setup in CyberDuck (host, port, protocol, credentials), remote folder creation, file upload, and validation via browser URL.
Students will understand how a web developer moves files from a local machine to a live server: and will be able to independently connect to the class development server, organize their remote workspace, and publish a basic HTML file that is accessible by URL.
dev.citicoders.org and navigate my remote directory.lessons/ folder on the server and upload an index.html file into it.Students connect to a real development server with real credentials and publish a real file, but the content is teacher-directed. Push further: once Unit 3 client projects begin, students use this same workflow to publish work for an actual audience, moving this skill toward “Authentic Audience / Client.”
dev.citicoders.org · Port: 22 · Protocol: SFTPBy end of class each student's remote root should contain a lessons/ folder with a working index.html inside it. Reinforce naming conventions from Unit 1.
/ (root)
Lessons/
Index.HTML
index (no extension)
lessons// (your root; server manages this)
lessons/
index.html
lessonsindex.html| Time | Phase | What happens |
|---|---|---|
| 5 min | Warm-Up / Hook | Ask: “If I handed you a finished website on a USB drive, what would you have to do to make it available at a real URL for anyone in the world to visit?” Brief think-pair-share. Surface the idea of a server. |
| 10 min | Direct Instruction | Teacher explains client vs. server. Introduce SFTP: what it is, why it's secure, how it differs from dragging files to a shared drive. Show the CyberDuck interface on projector: Bookmarks panel, connect button, remote file browser. |
| 15 min | Guided Practice: CyberDuck Setup | Students follow along step-by-step: open CyberDuck → New Bookmark → SFTP → enter dev.citicoders.org, port 22, their assigned username. Record all connection info on handout. Connect and confirm they see their remote root directory. |
| 10 min | Guided Practice: First HTML File | Teacher demos in Sublime Text: create index.html, type a minimal HTML skeleton, add one heading with student's name. Students replicate on their own machine. Teacher walks room to verify file is saved locally. |
| 15 min | Independent Practice: Publish & Verify | Students: (1) create lessons/ folder in CyberDuck on the server, (2) drag/upload their index.html into it, (3) open a browser and navigate to their URL to confirm the page loads. Record the live URL on their handout. |
| 5 min | Closure / Exit Ticket | Students answer on handout: “Explain in one sentence what SFTP does and why we use it instead of just emailing the file.” Teacher does a quick visual sweep; every student should have a URL they can show. |
Formative: Teacher verifies each student's live URL loads correctly before end of class. Handout completion checked for connection info and live URL recorded.
Exit ticket (completion-graded): one-sentence SFTP explanation on handout.
Note: Students who finish early can add additional HTML content to their page: headings, a paragraph about themselves, an unordered list. This previews Unit 3 HTML content.