1 / 11

Day11a

Day11a. FTP. FTP. File Transfer Protocol. Used to move files from one machine to another. Windows -> Unix Unix -> Windows Unix -> Unix Windows -> Windows etc. WSFTP . In windows you have probably used WSFTP or ProFTP or FTPExplorer which are GUI that simplify FTPing.

indiya
Download Presentation

Day11a

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. Day11a FTP

  2. FTP • File Transfer Protocol. • Used to move files from one machine to another. • Windows -> Unix • Unix -> Windows • Unix -> Unix • Windows -> Windows • etc.

  3. WSFTP • In windows you have probably used WSFTP or ProFTP or FTPExplorer which are GUI that simplify FTPing. • Allow drag and drop • Don’t require you to remember commands.

  4. Command line FTP • In windows you can also FTP from a DOS prompt. • This works exactly the same way as Unix FTP. • Same commands etc.

  5. 2 Transfer Modes • Ascii • This is for plain TEXT only. • Files created with vi or notepad • Binary • This is for all other types of files • Sound, Movies, Word Documents, Excel Spreadsheets, Power Point presentations etc.

  6. FTP Unix • In all versions of Unix, the command ftp should exist. • ftp kahuna.clayton.edu

  7. Logging In • You will be asked for your username and password. • If FTPing to a site you don’t have an account on, you can usually log in anonymously. • User: ftp • Pass: Your email address

  8. FTP Commands • ls • cd • get • put • chmod • rm

  9. Using commands • Commands work the same in FTP as they do in Unix. • cd allows you to change directory on the remote machine. • ls shows you a listing of files in the remote machine’s directory. • rm attempts to remove a file in the remote machines directory • This will not work if you are logged in anonymously.

  10. Get • Used to transfer files from the remote machine to your machine. • get myfile.txt • You can also use mget which allows you to transfer all files in a directory: • mget *

  11. Put • Allows you to move files from your machine to the remote machine. • put myfile.txt • Likewise moving a lot of files can be done with multiple put: • mput *

More Related