Yoyo's Home page Help  Users   GAUNIX  Links
Logs  Groups  Search Humour


FLOPPY DISK TRANSFER

Copying files from Yoyo to disk

Follow these steps:

  1. Login to your mfs account. You'll get a prompt like F:\LOGIN>
  2. At this prompt type 'ftp yoyo' [don't include the apostrophes].
  3. Type your username at the user: prompt and password at the password: prompt.
  4. You are now connected to yoyo. If you want to save your files to drive A:, put your disk into drive A and type 'lcd A:'
  5. If you type 'dir', you will see a listing of files. Pick any files that you want to get, and to actually get them you type 'get filename' [so if you wanted the file called 'blah' you'd type 'get blah' - without the apostrophes again.
  6. If you are getting files that are compressed or are pictures or executables, then you must type 'bin' before getting files.
Your file list would look something like:
drwxr-xr-x  2 wally     hero          512 Oct 16 11:06 .nn
-rw-r--r--  1 wally     hero         4161 Apr  9 12:36 .pine-debug1
-rw-r--r--  1 wally     hero         6012 Apr  9 12:23 .pine-debug2
-rw-r--r--  1 wally     hero         1546 Apr  9 12:27 .pinerc
-rwxr--r--  1 wally     hero          177 Mar 18  1994 .profile
-rwxr-xr-x  1 wally     hero           65 Mar 18  1994 .tcshrc
drwxr-xr-x  5 wally     hero          512 Oct 19 16:21 .tin
drwxr-xr-x  2 wally     hero          512 Oct 19 16:21 Mail
drwxr-xr-x  2 wally     hero          512 May 29  1994 News
drwx------  2 wally     hero          512 Mar 29 18:28 mail
The thing represented by drwx indicates that whatever file you have there is a DIRECTORY. So, ".tin", "Mail", "News", and "mail" are all directories. You can change into these directories by typing 'cd directoryname' [e.g. 'cd .tin' to go into your .tin directory] To get out of a directory, type 'cd ..'

So basically the commands you need to learn once you are in ftp are 'get' 'cd', 'dir', and 'del'.

If you files are on /tmp, then you can just type 'cd /tmp' to get there.

The Computer Centre has an information sheet on using ftp.

Here is a sample run, I get and delete the file 'received' which is in my mail directory:

F:\LOGIN> ftp yoyo
Trying 130.194.9.1...
Connected to yoyo.cc.monash.edu.au.
220 yoyo.cc.monash.edu.au FTP server (Version 2.0WU(16) Thu Apr 29 23:31:17 EST 1993) ready.
Name (yoyo:cjw): wally
331 Password required for wally.
Password:
230 User wally logged in.
ftp> lcd a:			<----------- this lowercase a is important!
Changed path to a:\
ftp> cd Mail
250 CWD command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 12
-rw-r--r--  1 wally    hero        12078 Apr 29  1993 received
226 Transfer complete.
77 bytes received in 0.11 seconds (0.71 Kbytes/s)
ftp> bin
200 Type set to I.
ftp> get received
200 PORT command successful.
150 Opening ASCII mode data connection for received (12078 bytes).
226 Transfer complete.
local: received remote: received
12116 bytes received in 0.32 seconds (37 Kbytes/s)
ftp> del received
250 DELE command successful.
ftp> quit
221 Goodbye.

F:\LOGIN>

Many thanks to the anonymous author of this tutorial.

© WWW Group / www@yoyo.cc.monash.edu.au
Last Modified Mon 17 Aug 1998