← All Lessons Student Handout →

CiTi · Computer Coding · Year One · Unit 3

SFTP Setup & Publishing Your First HTML File

A lesson within “My First Website & Server-Side Management”

Program Computer Coding: Year 1
Unit 3: My First Website & Server-Side Management
Duration One class period (60–90 min)
Grouping Individual (teacher-led demo → independent)

Essential Question

From the Year 1 curriculum map
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?

Curriculum Map Alignment

Verbatim from Yr 1 curriculum

Concept / Knowledge / Content: Web Tools

  • Compare and contrast client-side and server-side technologies
  • Describe the various means for uploading website files (FTP and web-based tools)
  • Identify issues related to website maintenance
  • Use GUI web authoring software to create a multi-page informational website

Skills / Tasks

Demonstrates basic understanding in:

Web Site Management File Management Fundamentals Organizational Skills
Standards touched: Digital Citizenship (professional tool use) · HTML5 Fundamentals (server deployment, file structure carried into L2+)
  • Standard 3 Site Planning and Design
    • Obj 3 Uploading and maintaining a site
      • Item 1 FTP pages to a web server (optional if security allows)
      • Item 11 Identify internet protocols: http, https, ftp

Program Connections

Skills & Portrait alignment

Program Skills: What I’m Building Toward

Hands-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

NYS Portrait of a Graduate

Academically Prepared Critical Thinker Reflective & Future Focused

Guaranteed & Viable Curriculum Framework

3 Dimensions for this lesson

Integrated Academic Knowledge

Client-server model: understanding the distinction between local files and a live server, and how data travels between them via a secure protocol.

Employability Skills

Following multi-step technical setup procedures precisely, documenting credentials and configurations, and independently verifying that work is live.

Technical Skills

SFTP connection setup in CyberDuck (host, port, protocol, credentials), remote folder creation, file upload, and validation via browser URL.

Learning Intention

“Unwrapped” from the standard

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.

Success Criteria

  • I can explain the difference between a file on my computer and a file on a web server.
  • I can create a CyberDuck bookmark using a host, port, username, and password.
  • I can connect to dev.citicoders.org and navigate my remote directory.
  • I can create a lessons/ folder on the server and upload an index.html file into it.
  • I can verify my page is live by navigating to its URL in a browser.

Authenticity Continuum

Where this lesson sits today
Instruction & Skill Practice
Teacher-Designed Simulation
Realistic Industry Task
Authentic Audience / Client
Product, Service, Impact, Solution

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.”

Materials & Prep

  • Student computers with CyberDuck installed
  • Student computers with Sublime Text installed
  • Pre-assigned SFTP credentials for each student (username + password): distribute before or at start of class
  • Student Handout (y1-u3-l1-so) for recording connection info
  • Projector for teacher demo
  • Server: dev.citicoders.org · Port: 22 · Protocol: SFTP

Directory Structure Reference

Goal state for this lesson

By 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.

✗ Common Mistakes to Watch For

/ (root)
  Lessons/
    Index.HTML
  index (no extension)
  • Capital letters in folder or file names
  • Wrong file extension or missing extension
  • File dropped in root instead of inside lessons/

✓ Correct Structure

/ (your root; server manages this)
  lessons/
    index.html
  • All lowercase. Only _ allowed (no spaces, no hyphens)
  • Folder named exactly lessons
  • File named exactly index.html

Lesson Flow

~60–90 minutes
TimePhaseWhat 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.

Assessment

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.