[comp.sys.cbm] FTP for the C64/C128: update and help

scott@max.u.washington.edu (02/13/90)

=====================================================================
SOME CHANGE SINCE THE LAST POST:
 
Another FTP site for the C64 and C128 has been setup at
Tukki (128.214.7.5). The C64 subdirectory is located at
"pub/c64", and the C128 subdirectory is located at "pub/c128"
 
In the Tolsum FTP there are now two subdirectory for the C64.
One is at "pub/c64" (only for downloads) and the
other is at "incoming/cbm" (which also contains section for the C128).
See below to findout how to change subdirectories in FTP.
 
More new files has been placed in the Tolsun FTP site and in the
UX-Maze Mail-Server, so check them out.
 
You are always welcome to contribute any PD software you may have to
any of the sites.
=====================================================================
 
 
 
Now onto how to used FTP (with Tolsun site as an example):
 
Besides the well maintained UX-Maze mail server, there is another
active site to share/get C64 PD software. This one is an FTP site.
For documentation on how to use the UX-Maze, see recent post in
regards to this topic.
 
One drawback about FTP is that not all system support this file
transfer feature. However, for those who are fortunate enough to
have access to such system, following is a short review of how to
put/upload files and how to get/download files using FTP.
 
The FTP site is Tolsun [128.214.5.6]
 
To activate FTP and connect to the site, at your system prompt type:
              ftp 128.214.5.6
 
After typing the above command the computer will acknowledge the
successful or unsuccessful connection with the give site.
If it is successful, now you need to login, so type:
              login
 
(on some FTP this command is not necessary, because it will
automatically prompt you for a username)
 
Having typed the about command, the computer will prompt you for a
username. The account that you will be accessing to is a public one
call "anonymous", so type:
              anonymous
 
Next it will prompt you for a password. For password enter a blank
space.
 
Having done all these correct, the computer will acknowledge your
successful access.
 
Now you need to locate the C64 section. Do a listing of the content of the
present directory by typing:
              dir
 
The C64 subdirectories is located under "pub" subdirectory,
so to change directories type:
              cd pub
 
Now type "dir" again to get a listing of the present directory.
You will be able to see the following C64 subdirectories:
c64
 
If you want to go to "c64.graphics" subdirectory, type the following:
              cd c64
 
Now do a "dir". What you see now are the listing of all the files
in this subdirectory that you can download.
 
(Aside: As you might have noticed, there is no special name format that
distinguishes between filenames and subdirectorynames. But this
is not a major problem. By just looking at a name and making some
logal deductions most of the time you can distinguish between the
two types. But if accidently try do download a subdirectory, the
computer will just give you an error message).
 
Having arrived to the right subdirectory, now to download a file you
need to know whether you are going to download an ascii (or text) file
or a binary (or executable) file because you need to set the mode
of tranfer. To set it to ascii mode, type:
              ascii
 
To set it to binary mode, type:
              binary
 
If you don't know for sure which one it is, set it to binary mode.
 
If you download a ascii file in binary mode, the file will still be legible
but my experiences have shown that the text looses all its "nice" page
formatting. Usually ascii files can be identify by the ".txt" or ".doc"
or ".readme" suffixes.
If you download a binary file in ascii mode, the file you will arrive to
you distored, and thus useless. Therefore is you are not sure, set the
mode to binary.
 
Having select the proper mode, to download a particular file, type:
               get <filename>
 
After typing the above command, the computer will prompt you
for a new filename that you want the file to be save under in your
directory. If you want the same name just press <return>.
(On some FTP the this feature is not available. The file will automatically
be saved under the same filename in your directory).
 
Now the computer will start receiving the file. It will take only
few seconds to complete the transfer...Having gotten the
file the only thing left to do is to download it to the C64 and run it.
 
To upload a C64 file from your system to Tolsun, as indicated prior, first
go to the appropriate subdirectory, set the right mode (binary or ascii), and
then type the following command:
              put <filename>
 
 
 
After finishing with all your transfers, to exit FTP type:
              exit
or
              quit
 
 
 
==========================================================================
COMMAND SUMMARY:
 
ftp <site name/number>    --> activates FTP and make connection with the
                              given site.
 
login                     --> login to the account in the given site.
 
dir                       --> list content of present directory
 
cd <subdirectory>         --> change directory to that of <subdirectory>
 
cd <subdir1>/<subdir2>    --> change directory to that of <subdir2> which
                              is inside the <subdir1>
 
cd ..                     --> change to prior parental directory
 
binary                    --> set to binary mode for file transfer
                              (set it to this mode when the file is not
                              pure text file).
 
ascii                     --> set to ascii mode for file transfer
                              (set it to this mode when the file is pure
                              text file).
 
get <filename>            --> download a file from given site to your
                              directory.
put <filename>            --> upload a file from your directory to give
                              site.
 
exit                      --> to exit from FTP.
quit
============================================================================
 
 
 
Well, I hope this was helpful, clear enough to get you started in using FTP.
Now hopefully there will be more activity in the Tolsun and Tukki FTP site,
and also in the UX-Maze...... see you there  :-)
 
 
"Ideas should be shared to their fullest to reveal its full potential"
 
 
Sincerely,
Scott K. Stephen