How to use Command-line FTP to copy files from A:\ to your aslnx1 account

  1. Assumptions in the following illustrated example:
    1. You have a unixNN account on the aslnx1.uah.edu Linux server. In this example, the userid is unix00.
    2. You are using a PC that has a connection to the Internet.
    3. You have a diskette with image and web page files in a WWW folder.
  2. Insert your class diskette in your
    PC's A: drive.
    1. Open a Command (or MS-DOS) window.
    2. Change the default drive to your diskette by entering: A:
    3. Make A's default folder to your web directory: cd WWW
    4. Display the names of WWW's files on your screen: dir
  1. Use FTP to connect to the server: ftp aslnx1.uah.edu

  2. Enter your userid: unix00

  3.  
  4. Enter your password (what you type will NOT be displayed on your PC screen) : xxxxNNN
    Your default 7-digit password is the last four digits of your UAH ID number plus the three digits of your userid.
  1. Make your web folder on aslnx1 the default directory: cd WWW
  2. Before copying a text (.txt) or web page (.htm or .html) file make sure the mode is set to ASCII: ascii
  3. Copy the desired file from from A:\WWW to your aslnx1's WWW folder: put day04.html
    or substitute for day04.html any ASCII filename that was displayed by the dir command in step 4.
  4. Before copying an image (.gif or .jpg) or other binary file make sure the mode is set to binary: bin
  5. Copy the desired file from from A:\WWW to your aslnx1's WWW folder: put wk04_bg.jpg
    or substitute for wk04_bg.jpg any binary filename that was displayed by the dir command in step 4.
  6. Exit FTP: bye
  7. Exit Windows Command (or MS-DOS) window: exit