Chapter 10. Transferring Files Using FTP

Instructions for Downloading Files

This section instructs localization vendors on how to use the FTP utility to download files from sgiblab.sgi.com.


Note: Use binary mode to transfer files. If files are downloaded in ASCII mode, the FrameMaker source documents will become corrupted.

You will receive an e-mail message from the Production Editor indicating files are available for downloading. The message will include the path to the files and the filenames.

To transfer files from sgiblab.sgi.com:

  1. Start an FTP connection to sgiblab.sgi.com.

    % rftp sgiblab.sgi.com 
    

  2. Enter the username:

    Name (sgiblab.sgi.com:username): lpftp 
    

  3. Get the lpftp password from your production editor and enter it:

    Password: password 
    

    lpftp is the present directory.

  4. Ensure that you are using binary mode to transfer the files:

    ftp> binary (or bin) 
    

  5. Change to the receive directory:

    ftp> cd receive 
    

  6. List the part number directories:

    ftp> ls 
    

  7. Change to the appropriate directory:

    ftp> cd vendor_name/from.SGI 
    

  8. The interactive mode prompts you before transferring each file using mget. To turn off the interactive mode, enter

    ftp> prompt 
    

  9. Transfer files.

    For multiple files, enter

    ftp> mget *.tar 
    

    For a single file, enter

    ftp> get filename 
    

  10. Exit FTP.

    ftp> bye 
    

Reply to the e-mail message and indicate that the files were successfully transferred.

Instructions for Uploading Files

This section instructs localization vendors on how to use FTP to copy files to sgiblab.sgi.com.

To transfer files to sgiblab.sgi.com:

  1. Start an FTP connection to sgiblab.sgi.com.

    % rftp sgiblab.sgi.com 
    

  2. Enter the username:

    Name (sgiblab.sgi.com:username): lpftp 
    

  3. Get the lpftp password from your production editor and enter it:

    Password: password 
    

    lpftp is the present directory.

  4. Change to the receive directory.

    ftp> cd receive 
    

  5. List part number directories.

    ftp> ls 
    

  6. Change to the appropriate directory.

    ftp> cd vendor_name/to.SGI 
    

  7. Make a directory using today's date as the name. For example:

    ftp> mkdir 022197 
    

  8. Change to the date directory.

    ftp> cd today's_date 
    

  9. The interactive mode prompts you before transferring each file using mput. To turn off the interactive mode, enter

    ftp> prompt 
    

  10. Transfer files.

    For multiple files, enter

    ftp> mput *.tar 
    

    For a single file, enter

    ftp> put filename 
    

  11. Exit FTP.

    ftp> bye 
    

Send an e-mail message to the Production Editor indicating that the files were successfully transferred.