Transfering files from SGI to customers with Anonymous FTP
----------------------------------------------------------

1. go to http://shell.sgi.com

2. Select "Create an FTP customer collection area on
   shell.sgi.com"

3. Use a call/case ID, or a unique code that you will tell the
   customer.

4. Use "rftp" to transfer the files from the SGI internal
   system to shell.sgi.com.  For example, if:
   - the file in the current directory you need to transfer is "file1"
   - your username is "myname"
   - your password is "secret"
   - your callID is "0990000"

        # rftp shell.sgi.com
        login:  
        passwd: 
        ftp>    cd /collect/0990000
        ftp>    binary
        ftp>    put file1
        ftp>    quit

Internal SGI.COM, shell also supports SFTP, FTP over SSL, and STARTTLS

ie. sftp -oPort=2222 username@shell
    lftp ftps://shell.sgi.com
    curl --ftp-ssl -uusername ftp://shell.sgi.com/test.txt

only anonymous logins are supported external to SGI.COM

See Methods of access below for examples.

5. give the customer instructions for retrieving the file.

  Assume the code (case number) was 0990000 and that there are two
  files, somefiles.tar and somefiles.README.  Give the customer this:

  You can retrieve the files using anonymous FTP through a Web
  browser or via shell commands.  Use the method with which you
  are most familiar.

  1. WEB BROWSER.  In the URL text box on your browser, enter:

        ftp://shell.sgi.com/collect/0990000/somefiles.README

     Use the "File -> Save As" option of your browser to save the file.
     In the URL text box on your browser, enter:

        ftp://shell.sgi.com/collect/0990000/somefiles.tar

     You will be prompted for a location to save the file.

  2. SHELL.  You can use anonymous ftp directly.
     For example, if you wish to copy the files to /usr/tmp:

     % cd /usr/tmp
     % ftp shell.sgi.com
     login: anonymous
     password:
     ftp> cd collect/0990000
     ftp> binary
     ftp> get somefiles.README
     ftp> get somefiles.tar
     ftp> quit

  The binary mode of ftp will (usually?) work correctly for ASCII files.


METHODS of ACCESS
Active and passive modes of FTP are supported. We also support SFTP
(FTP over SSH) but only for employee accounts or private customer accounts
that are manually set up. Anonymous logins aren't supported over SFTP.

sftp -oPort=2222 username@shell
-------------------------------------------------------------------
You can also access the ftp server using FTPS (FTP over SSL), provided your
FTP client supports SSL or STARTTLS.
For example, the linux curl command supports STARTTLS,
you could download a file like this:

INTERNAL SGI
curl --ftp-ssl --upload-file testfile.txt -u username ftp://shell.sgi.com/collect/12345/testfile.txt
curl --cert --ftp-ssl --upload-file testfile.txt -u username ftp://shell.sgi.com/collect/12345/testfile.txt

EXTERNAL SGI
curl --ssl -u anonymous:username@sgi.com -O ftp://shell.sgi.com/collect/12345/test.txt
curl --ssl --upload-file test.txt -u anonymous:username@sgi.com -O ftp://shell.sgi.com/receive/12345/test.txt
-------------------------------------------------------------------
Other FTP clients that don't support STARTTLS but do support SSL can
connect securely using TCP port 990.
FTPS and lftp (support anonymous logins)
For instance, lftp uses SSL like this:
lftp -e 'put test3.txt;bye' -u username shell.sgi.com
lftp -e 'get test3.txt;bye' -u username shell.sgi.com
lftp ftps://shell.sgi.com
lftp -u username ftps://shell.sgi.com