Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!milton!max!scott From: scott@max.u.washington.edu Newsgroups: comp.sys.cbm Subject: (repost) FTP Help Message-ID: <13379.25ed5b1d@max.u.washington.edu> Date: 2 Mar 90 01:25:49 GMT Organization: University of Washington, Seattle WA Lines: 168 How to used FTP (with Tukki site as an example): Besides the well Mail Servers, like UX-Maze, there are other means of sharing/getting C64 PD software. These are FTP sites. (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 IP number for Tukki is 128.214.7.5 To activate FTP and connect to the site, at your system prompt type: ftp 128.214.7.5 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 one of 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 a number of subdirectories, among which one is: c64 If you want to go to "c64" subdirectory, type the following: cd c64 Do a "dir". What you see now is further subdirectories of different categories of software. To go to the "demos" subdirectory type: cd demos The list that you will get after the "dir" command is the list of all the files available in this subdirectory for you to download. Above, we changed the directory one level at a time to get to the "demos" subdirectory for the C64. You can go straight the root or top directory to "demos" by typing: cd pub/c64/demos (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. When 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 if you are not sure, you are better off setting the mode to binary. Having select the proper mode, to download a particular file, type: get 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 . (On some FTP the this feature is not available. The file will automatically be saved in your directory under the same filename) Now the computer will start receiving the file. It will take only few seconds or minutes (depending on the host system's busyness) 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 After finishing with all your transfers, to exit FTP type: exit or quit ========================================================================== COMMAND SUMMARY: ftp --> 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 --> change directory to that of cd / --> change directory to that of which is inside the 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 --> download a file from given site to your directory. put --> 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. See you in the FTP lanes..... :-) "Ideas should be shared to their fullest to reveal its full potential" Sincerely, Scott K. Stephen