-------------------------------------------- Using the Internet FTP File Transfer Program -------------------------------------------- -IAN! idallen@ncf.ca This document explains how to get a copy of a file that you have written and prepared on ACADAIX (or Floppix) to another machine. Once the file is on another machine, you can print it. (You must do this because ACADAIX doesn't have a printer to which you have access.) You can also transfer files from other computers to ACADAIX. (You might want to do this if you accidentally delete a file on ACADAIX and want to restore the file from a copy you are keeping on another computer.) FTP can be used to move files from a Unix system (such as ACADAIX or Floppix) to or from another computer. You might want to do this: 1) to print on a local printer a file prepared remotely on ACADAIX 2) to back up copies of files prepared on ACADAIX and protect them against accidental deletion ===================================================== How To Get (and optionally Print) a file From ACADAIX ===================================================== First, go to some machine that has access to your N: network drive or that can print on a printer, e.g. to one of the Windows machines at the College, or perhaps your home machine. Summary: Start up FTP in a DOS window and connect to ACADIX; get the file to the local machine; exit FTP. If you want, you can then open the local copy of the file in Winodws Write or WordPad and print it locally. Detailed Method: -) Start a DOS window: - Open the Windows START menu. - Choose RUN - Enter the word "command" in the RUN box to start a DOS text window. -) Change to a directory in which you would like to store a copy of the file you are going to get from ACADAIX. You might want to keep a copy on your N: drive, or on a floppy disk (A:). Change to that directory (and maybe to that disk) first: C:\> A: A:\> To store the file on your Network drive, go there first: C:\> N: N:\> -) Start FTP to ACADAIX and login to FTP with your usual ACADAIX Name and Password: N:\> ftp acadaix.algonquincollege.com Connected to acadaix.algonquinc.on.ca User: abcd0001 Password: 230 User abcd0001 logged in. ftp> (If you are at the College, you don't need to enter the domain name.) -) Use the "GET" command of FTP to get your file by name, e.g. ftp> get myfile.txt ftp: 1234 bytes received in 0.234Seconds ftp> quit N:\> dir myfile.txt -) Quit FTP. You've got a copy of your file from ACADAIX. If you want to print the file, continue on to the "Printing" step, next: ---------------------------------- Printing the Text File or Log File ---------------------------------- Start up a text editor that can print files, e.g. Windows Write or WordPad, and open the text file or log file containing your output: A:\> write myfile.txt ...a window starts up with your text in it... Now print your file from inside "write". Adjust the font size so that the output fits across the paper and does not break up long lines. (Do not use Windows Notepad - the lines come out too long.) Warning: Most Unix output looks best when printed using a fixed-width font such as Courier. Do *NOT* use a proportional font such as Times or Helvetica! Use Courier (or Courier New) only. ================================= How To Transfer a File to ACADAIX ================================= First, go to the machine that has access to the file that you want to transfer to ACADAIX, e.g. to one of the Windows machines at the College, or perhaps your home machine. Summary: Start up FTP in a DOS window and connect to ACADIX; put the file from the local machine up to ACADAIX; exit FTP. Detailed Method: -) Start a DOS window: - Open the Windows START menu. - Choose RUN - Enter the word "command" in the RUN box to start a DOS text window. -) Change to the directory and disk drive containing the file you are going to put up to ACADAIX. C:\> N: N:\> cd mydir N:\mydir> -) Start FTP to ACADAIX and login to FTP with your usual ACADAIX Name and Password: N:\mydir> ftp acadaix.algonquincollege.com Connected to acadaix.algonquinc.on.ca User: abcd0001 Password: 230 User abcd0001 logged in. ftp> (If you are at the College, you don't need to enter the domain name.) -) Use the "PUT" command of FTP to put your file to ACADAIX by name, e.g. ftp> put myfile.txt ftp: 1234 bytes sent in 0.234Seconds ftp> ls myfile.txt ftp> quit Use the "ls" or "dir" dommands of FTP to see your file on ACADAIX, or use a TELNET window and login to ACADAIX to verify that the file has arrived. The file will be in your HOME directory on ACADAIX. -) Quit FTP. You've put a copy of your file from your local computer up to your HOME directory on ACADAIX.