1 / 10

SoftwareTools

SoftwareTools. CGS 3460, Lecture 7 Jan 25, 2006 Zhen Yang. Overview. Coursetool HW1 FTP Programmer’s File Editor V1.01. FTP. What is FTP?

moriah
Télécharger la présentation

SoftwareTools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SoftwareTools CGS 3460, Lecture 7 Jan 25, 2006 Zhen Yang

  2. Overview • Coursetool • HW1 • FTP • Programmer’s File Editor V1.01

  3. FTP • What is FTP? The FTP (File Transfer Protocol) utility program is commonly used for copying files to and from other computers. These computers may be at the same site or at different sites thousands of miles apart. FTP is a general protocol that works on UNIX systems as well as a variety of other (non-UNIX) systems.

  4. Local and Remote For the purposes of this lecture, the local machine refers to the machine you are initially logged into, the one on which you type the ftp command. The remotemachine is the other one, the one that is the argument of the ftp command.

  5. Getting Started • To connect your local machine to the remote machine, type             ftp machinename where machinename is the full machine name of the remote machine, e.g., ftp grove.ufl.edu I suggest you to open a telnet window at the same time you open a ftp window.

  6. Getting Started (cont.) • If the remote machine has been reached successfully, FTP responds by asking for a loginname and password. When you enter your own loginname and password for the remote machine, it returns the prompt             ftp> It permits you access to your own home directory on the remote machine.

  7. Common FTP Commands 1 • ?to request help or information about the FTP commands • asciito set the mode of file transfer to ASCII (this is the default and transmits seven bits per character) • binaryto set the mode of file transfer to binary (the binary mode transmits all eight bits per byte and thus provides less chance of a transmission error and must be used to transmit files other than ASCII files)

  8. Common FTP Commands 2 • byeto exit the FTP environment (same as quit) • cdto change directory on the remote machine • lcdto change directory on your local machine (same as UNIX cd) • lsto list the names of the files in the current remote directory • mkdirto make a new directory within the current remote directory • pwdto find out the pathname of the current directory on the remote machine

  9. Common FTP Commands 3 • deleteto delete (remove) a file in the current remote directory (same as rm in UNIX) • getto copy one file from the remote machine to the local machine • putto copy one file from the local machine to the remote machine

  10. Programmer’s File Editor V1.01 • This is free software obtained from Internet. • It can be run on Microsoft windows. • You can use it to edit your C programs for homeworks. • Please go to class website to download it. It is under “Software”.

More Related