
Contents |
Two scenarios: connecting through a host server, vs. direct (SLIP or PPP)
| Using a Host Server | Direct |
|---|---|
|
|
![]() |
![]() |
In most cases, we use direct FTP to get files from a server to our workstation at home.
To use host-mediated FTP, you first log in to a server where you have an account (usually running Unix/Linux). You run FTP on that machine, open an FTP connection to an FTP server somewhere else, and transfer the files you want to the server where you have an account. When the file arrives at your server, you open an FTP or other file transfer connection to your own workstation, and transfer the file a second time. That finally gets it to your computer.
Direct FTP is obviously much more convenient! Why is there host-mediated FTP? It was necessary before people commonly had TCP/IP connections at home or in their offices, so it's mainly of historical interest. But for those of us who work professionally in the Internet business, it's important to know about this alternative, because it may be necessary in some circumstances. You never know!
| If you have this: | You do this: |
| Windows-based PC | Click the Start button Click the Run option Type ftp and press the <Enter> key |
| Unix workstation or host | Type ftp at the system prompt |
| Command | Brief Description |
|---|---|
| ? | print local help information |
| account | send account command to remote server |
| append | append to a file |
| ascii | set ascii transfer type |
| bell | beep when command completed |
| binary | set binary transfer type |
| bye | terminate ftp session and exit |
| case | toggle mget upper/lower case id mapping |
| cd | change remote working directory |
| cdup | change remote working directory to parent directory |
| close | terminate ftp session |
| cr | toggle carriage return stripping on ascii gets |
| delete | delete remote file |
| debug | toggle/set debugging mode |
| dir | list contents of remote directory |
| disconnect | terminate ftp session |
| form | set file transfer format |
| get | receive file |
| glob | toggle metacharacter expansion of local file names |
| hash | toggle printing `#' for each buffer transferred |
| help | print local help information |
| lcd | change local working directory |
| ls | list contents of remote directory |
| macdef | define a macro |
| mdelete | delete multiple files |
| mdir | list contents of multiple remote directories |
| mget | get multiple files |
| mkdir | make directory on the remote machine |
| mls | nlist contents of multiple remote directories |
| mode | set file transfer mode |
| mput | send multiple files |
| nmap | set templates for default file name mapping |
| ntrans | set translation table for default file name mapping |
| open | connect to remote tftp |
| prompt | force interactive prompting on multiple commands |
| proxy | issue command on alternate connection |
| sendport | toggle use of PORT cmd for each data connection |
| put | send one file |
| pwd | print working directory on remote machine |
| quit | terminate ftp session and exit |
| quote | send arbitrary ftp command |
| recv | receive file |
| rename | rename file |
| reset | clear queued command replies |
| rmdir | remove directory on the remote machine |
| runique | toggle store unique for local files |
| send | send one file |
| status | show current status |
| struct | set file transfer structure |
| sunique | toggle store unique on remote machine |
| tenex | set tenex file transfer type |
| trace | toggle packet tracing |
| type | set file transfer type |
| user | send new user information |
| verbose | toggle verbose mode |
| ! | escape to the shell |
| $ | execute macro |
You can use FTP to get to these archives (anonymous login, enter your email address as the password). There are limits on the number of simultaneos FTP sessions on ftp servers, so many of them will log you off after a certain period (say, 5 minutes) of inactivity.
England src.doc.ic.ac.uk Israel ftp.technion.ac.il Japan ftp.inter.spin.ad.jp Japan ftp.iij.ad.jp Sweden ftp.sunet.se Taiwan nctuccca.edu.tw Taiwan ftp.ccu.edu.tw USA wuarchive.wustl.edu USA ftp.oregonstate.edu
The remainder of this document is quoted from The University of Michigan's MSDOS FTP archives help file. This server is no longer active, but the instructions can be used with minor modifications on any of the FTP systems listed above.
Germany: info2.rus.uni-stuttgart.de:/afs/umich.edu/group/itd/archive/msdos Missouri: wuarchive.wustl.edu:systems/msdos/umich.edu Oregon: ftp.orst.edu:/pub/mirrors/archive.umich.edu/msdos
Caution:
whenever you download software or anything that isn't text, be sure to use the
binary command before beginning
the download. See module NA36c for details.
The compression programs for each of the extensions that a compressed file on the archive can have are as follows:
Extension: File: .ARC msdos/compression/arc/arce.com .ARJ msdos/compression/arj/arj241.exe .LHA or .LZH msdos/compression/lzh/lha255b.exe .PAK msdos/compression/pak/pak251.exe .Z or .GZ msdos/compression/gnuzip/gzip124.exe .ZIP msdos/compression/zip/pkz204g.exe .ZOO msdos/compression/zoo/zoo210.exe
Click here for
review questions.Module NA30c: How to Get Files using Internet