1 / 11

Agenda

Agenda. Using FTP What is FTP? How to Use FTP Program How to transfer files Using FTP. File Transfer Protocol (FTP). What is FTP? FTP is an application that can transfer files among various computer systems FTP is useful for:

pettittf
Download Presentation

Agenda

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. Agenda • Using FTP • What is FTP? • How to Use FTP Program • How to transfer files Using FTP

  2. File Transfer Protocol (FTP) What is FTP? • FTP is an application that can transfer files among various computer systems • FTP is useful for: • transferring programming files to diskette for printing, backup or installation on home PC • transferring files from Phobos to computer terminal for editing(and vice versa) • uploading HTML files to web server

  3. File Transfer Protocol • There are many ftp applications that are available in both Windows and Linux platforms. • Windows: • - Graphical (WS-FTP, MS-Explorer) • - Command line (ftp command) • Linux: • - Graphical (Konqueror, gftp) • - Command line (ftp command) Basically, identical to MS-Windows command-line ftp command!

  4. ftp Command • Very useful command since it is available in both MS-Windows 95 (upwards), Unix and Linux. • Useful to learn if you want to transfer file(s) and no other ftp software is currently installed on computer (eg. If you are working on a client’s site)

  5. ftp Command • To connect to a remote server for file transfer, either open a Windows Run command dialog box, or in Unix/Linux access a shell and issue the following command:ftp servername • Eg. ftp phobos.senecac.on.ca

  6. ftp Command • After entering your username and password, you will be brought to a prompt. • If you will be transferring ascii files such as C programming code, or html webpages, issue the command ascii. • If you will be transferring files other than ascii files (pictures, MS-Word documents, executable programs), issue the command binary. If you do not enter these correct “modes” to correctly transfer these files, you may damage the files, and they will not work properly!

  7. ftp Command • When you are connected to a server the following terms apply:Local Server – Your current machine (i.e. your PC or your Matrix account)Remote Server – Server that you are connected (eg. your Phobos account) Note: If your local machine has access to a floppy disk drive, you can transfer files for backup purposes!

  8. ftp Command • Commands to navigate throughout your remote server:ls List filespwd Display current directorycd Change remote directory Note: when using ftp program in MS-Windows, you can use dir command as well.

  9. ftp Command • Commands to navigate throughout your local server:!ls List files (if local is Unix/Linux)!pwd Display current directorylcd Change local directory Note: When using ftp from MS-Windows, use !dir to view local contents

  10. ftp Command • Commands to transfer files between local and remote server:remote -> local Server:get filenamelocal -> remote Server:put filename Note:It is advised to set your local and remote directories before you transfer. In MS-Windows the local directory is set by default to home directory in C: drive. In Unix/Linux the local directory is set by default to current directory from which “ftp” was entered.

  11. ftp Command • After transferring a file between servers, always verify that the transfer has been successfully completed (refer to commands to navigate throughout local and remote servers). • To exit the ftp command, you can enter the commands:byeexit

More Related