FTP and UNIX TOPICS Exploring your Web Hosting Site FTP UNIX

Slides:



Advertisements
Similar presentations
Client-server practices DSC340 Mike Pangburn. Agenda Overview of client-server development Editing on client (e.g., Notepad) or directly on server (e.g.,
Advertisements

Using FTP Prof. Wayne Pollock Hillsborough Community College Tampa, FL
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
FILE TRANSFER PROTOCOL Short for File Transfer Protocol, the protocol for exchanging files over the Internet. FTP works in the same way as HTTP for transferring.
Chapter 19 FTP: Transferring Files Across a Network
Universidad del Cauca Red de Datos Module 9 Remote Connections.
ECT 250: Survey of e-commerce technology Publishing pages on a Unix system.
FTP Using FileZilla CS10001 – Computer Literacy. Step 1: Understanding the Interface Quickconnect Bar Message Log Area Local site navigation (either lab.
Chapter 26 FTP.
1 Computer Files Stored on disks, CDs, tapes, in memory. Types of files: plain text, formatted (.doc.xls etc…), binary (executable). A disk has a directory.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
George Blank University Lecturer. Creating A Web Site at NJIT Professor Blank.
Web Pages Publishing your page on ASUWlink. Unix Directory Commands ls –la –will show all directories and files –will show directory and file permissions.
Using FileZilla to FTP CS10001 – Computer Literacy Kent State University.
Activating Pilot Account ( first time users ) Web-based Activation Browse to 1. Click on the link on the lower right that says.
CS 497C – Introduction to UNIX Lecture 35: - TCP/IP Networking Tools Chin-Chih Chang
Remote access and file transfer Getting files on and off Bio-Linux.
SoftwareTools CGS 3460, Lecture 7 Jan 25, 2006 Zhen Yang.
Chapter 31 File Transfer & Remote File Access (NFS)
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
Accessing the Internet with Anonymous FTP Transferring Files from Remote Computers.
1 Web Server Administration Chapter 9 Extending the Web Environment.
CNIT 132 Intermediate HTML and CSS Publish Web Page.
CPSC203 Introduction to Computers Lab 69 By Jie Gao.
1 Web Server Administration Chapter 9 Extending the Web Environment.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
1 INFO 321 Server Technologies II FTP Material adapted from Dr. Randy Kaplan.
Department of Computer Science Southern Illinois University Edwardsville Spring, 2008 Dr. Hiroshi Fujinoki FTP Protocol Programming.
UNIX Workshop Freshmen Orientation UNIX workshop Before we begin…  Does everybody have a computer?  Does everybody have your account slips?
Slide No. 1 Slide No. 1 HTML and Web Publishing Continued CS 104 CS 104.
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
Configuring a LAN FTP Client Chapter 17 & 19. Setting up the physical layer Chapter 17 covers the basics of hubs, switches, routers and WAPs.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
File Transfer Protocol (FTP)
Scott Marino MSMIS Summer Session Web Site Design and Authoring Session 2 and 3 Scott Marino.
CITA 310 Section 8 Extending the Web Environment (Textbook Chapter 9)
FTP Using FileZilla CS10001 – Computer Literacy. Step 1: Understanding the Interface Quickconnect Bar Message Log Area Local site navigation (either lab.
G053 - Lecture 18 Uploading Your Site Mr C Johnston ICT Teacher
Internet FTP to network. Preliminary Steps a FTP program is used and executed such as WS_FTP LE Information needed –host name –user id –password.
Remote Access Usages. Remote Desktop Remote desktop technology makes it possible to view another computer's desktop on your computer. This means you can.
Agenda Using FTP What is FTP? How to Use the FTP Program How to transfer files Using FTP.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
BIF703 FTP (File Transfer Protocol) Utility vi editor Utility.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Week-2 (Lecture-1) An electronic message sent from one computer to another. contains account i.e. How does.
1 How to Publish Your HTML Page on the Web. Every USF Student has a website 2 Your Net ID You have a directory on the server.
Basic Web Design UVICELL Week 4 Templates and site management Week 4 Templates and site management.
Day11a FTP. File Transfer Protocol. –Used to move files from one machine to another. Windows -> Unix Unix -> Windows Unix -> Unix Windows -> Windows etc.
© N. Ganesan, Ph.D., All rights reserved. FTP and Telnet Services Professor N. Ganesn, Ph.D.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
File Transfer Protocol (FTP)
Web Programming Essentials:
FTP Lecture supp.
Module 23 (ftp and wireshark)
Web Server Administration
Tutorial of Unix Command & shell scriptS 5027
Tutorial of Unix Command & shell scriptS 5027
Web Programming Essentials:
Tutorial of Unix Command & shell scriptS 5027
Configuring Internet-related services
CGS 3175: Internet Applications Fall 2009
Tutorial Unix Command & Makefile CIS 5027
Presentation transcript:

FTP and UNIX TOPICS Exploring your Web Hosting Site FTP UNIX Upload an index page to your web hosting site

Working with Files on the Web Hosting Site File Manager allows you to view the files in your site as well as to upload new files and modify existing files.   Web Disk allows you to drag and drop files to your hosting account.   Web Disks Subdomains are relative to your account’s home directory.

Files and Directories on the Host Server public_html is the main directory we will be using. The public_html directory contains the files for your site. Files in public_html and any subdirectories of public_html will be viewable by anyone on the internet. When a user views a directory in your public_html area, they will see the index page for that directory. When creating your index page, you should use one of the following names (the first one found will be shown if the visitor doesn't specify a page in the URL): index.html index.htm Default.html Default.htm home.html welcome.html

FTP: File Transfer Protocol FTP enables files to be transferred from one machine on a network to another. Many different FTP 'clients' or programs have been written, but the first and most commonly available is the command mode FTP. Command mode FTP can always be found on Unix systems, or in 'DOS' under Windows. Terminal (Mac) Command Prompt (Windows)

BASIC UNIX Commands The following slides identify basic UNIX commands that will allow you to to log on to your host web server, navigate the directories, upload and download files (transfer files), and log off. NOTE: The contents of [square brackets] are customizable [filespec] means either a full file name (ie. 'list.txt') or a filename with wildcards * is a wild card. For example, 'l*' means all files beginning with 'l', and '*.txt' means all files ending with '.txt’ Type a question mark (?) if you need a list of UNIX commands.

UNIX Command for (logging on) Connecting to the Web Host Server ftp [sitename] Connects to [sitename] Login: requires username and password

UNIX Commands for Navigating Directories cd [directory] Allows you to change directories. Use quotes for names that have spaces. You can also use cd.. to go up one level in a directory. lcd Changes your local directory (the directory from which you started 'ftp' from). Use lcd to go up one level in a directory. pwd Print (display to the screen) the directory you are currently working in. ls [filespec] Lists the details of the files and directories. Example output: -rw-rw-r-- 1 2066 ftp-game 234868 Jan 2 2018 list.txt NOTES: r represents read permission, w represents write permission The first group of rw permissions is defined for the owner of the file. The second group of rw permissions is defined for the group that the own belongs to. The last group of rw permissions is defined for users. Note that users have read permission only. 234868 is the file size. Last modified on January 2nd 2018.

UNIX Commands for Uploading and Downloading Files bin Changes to binary mode. This mode is used when transferring image files, or non-text files. Binary mode will work for all files. ascii The default mode is 'ascii’. This mde will only work for text files. It is important to make sure you type 'bin' before you upload or download an image. Otherwise, you will get garbage. put [file] Uploads [filename] from your current local directory. To upload a file, you must be in a directory you are allowed to upload into. . mput [filespec] Uploads multiple files matching [filespec] get [file] Downloads [filename] and type 'y' when asked to confirm. mget [files] Multiple download of [filespec] files

UNIX Command for Logging Out of FTP bye This command will log you off and close the FTP connection.

Practice 1: Explore using Anonymous FTP Step 1: Load the command line (Terminal or Command Prompt) Change the directory to desktop and then to your folder. Use cd and ls (or dir, if you’re at Windows). Step 2: FTP to ftp.hq.nasa.gov Step 3: Name three files/directories within this Nasa site. Step 4: Navigate to EFpres.ppt, as shown in the diagram. Step 5: grab a copy of EFpres.ppt. Step 6: Exit FTP from NASA. Verify the file was downloaded.

Answer to Practice 1 Step 1

Answer to Practice 1 Step 3

Practice 2: Upload your index.html page to your web host server. Step 1: Load the command line (Terminal or Command Prompt) and FTP to your web domain >ftp [host domain name] FTP starts and connects to the site You will see something similar to: >Connected to tcornez.com After the welcome message it will inform you that the web server is a private system (meaning no anonymous login available). It will also give you the local time and the server port number. It should then prompt you for the user name and your password. >Name (domain:user): ….......... >Name (tcornez.com:trishcornez): …....... Step 2: You are now 'in' the site. Examine the directories. View your directories by typing ls. Step 3: Change directory to public_html by typing cd public_html Step 4: Create a directory called stupidStuff. Verify it was created. Step 5: Delete stupidStuff. Verify. Step 6: Use put to upload your index.html page. Step 7: Use del to Delete home.html Step 8: Logout of the FTP session by typing bye Step 9: Load Chrome and verify your webpage has been updated.