Exercise 5

Compression programs

You can find help and tips included to these exercises from address http://appro.mit.jyu.fi/english/prope.html.

  1. Create a directory called temp into U:-disk.
  2. Use browser and go to address ftp://garbo.uwasa.fi/pc/virus/fp-308c.zip. Save fp-308c.zip found from there into U:\temp\ -directory. fp-308c.zip is free anti-virus-program which can be used on DOS-space.
  3. Open the compression program by selecting Start | Programs | PowerArchiver | PowerArchiver 2000.
  4. Start compression of files by creating a new packet. New packet can be made by selecting File | New Archive. Define U:\temp\ as a location of the packet and name it as ftp.zip. Then select Save.
  5. After that select files which can be inserted into packet. Now the files to be added can be found from U:\temp\ -directory. You can add several packets simultaneously by using mouse and CTRL-button. Adding active packets can be done with Add-button.
  6. Insert a whole directory into the packet. You can add files and directories into the existing packet by selecting Actions | Add. Insert the whole contents of U:\prope\-directory into the packet. If there are files which you don´t want to add into the packet you can edit the contents of the packet by selections which are found from the Actions-menu. Deleting the files can be done by using those selections.
  7. Create a new directory called packet into U:- directory. Unpack the packet created by you into packet- directory. Unpacking the packet can be done by selecting Actions | Extract. Remember to select the packet-directory as a destination folder . Select All Files from the extract-window.
  8. You can get to know of packet-directory at the end. If you want to copy WS-FTP program for yourself it can be done by copying the packet made earlier by you into floppy disk.

Moving and copying files between the computers

You must copy or move files from computer to another computer very often. And it isn´t always possible to use floppy disk or it isn´t even very handy. The easiest way to move files is to use network link. There are many different transfer programs and -protocols which can be used. The safest and most recommended programs are SSH Secure File Transfer and SCP which use both SSH-protocol. If you can´t use these programs you can use old and insecure FTP-protocol in a emergency situation.

SSH Secure File Transfer Client

Secure File Transfer of SSH is a windows-program which can be used to moving files safely between computers which support SSH2-protocol.

SCP

SCP is program equivalent to Secure File Transfer Client. It works in command line and it is used for copying files safely between computers.

FTP

FTP is very old moving/copying protocol and program for files. FTP doesn´t include any kind of encryption. So it is very unsafe to use and it is recommend to use only in emergency situations. All computers don´t include SSH encryption so then you must use FTP.

In following exercises you move files between server computer and local computer.

  1. Find file which you want to move into your home directory by using FTP-program from u:\prope-directory. WS-FTP program can be started by selecting Start | Programs | WS_FTP | WS_FTP95LE. The program asks some things included to connecting after start.
    session properties -dialogi
  2. When connection is succeeded you can see the directory structure of local computer in left window and the contents of your home directory inside the server computer in right window. Find the file which you want to move under your home directory from left window. After that create directory called prope by using buttons from right-hand side next to the right window. Move into directory which you just created in right window and copy file from local device into directory created by you by using arrow-buttons between the windows.
    ftp-ikkuna
  3. Use SSH-program and go into your home directory. Then check if the directory made by you exists and check also the contents. Check the user-rights of directories and files and try to remember what different authorizations meant. Will others see your directory or its contents?
  4. Delete moved file by using WS-FTP and delete also prope- directory from server computer at the end.

Course enquiry

There is an enquiry in address: kurssikysely. Unfortunately it has only been created in Finnish. But anyway, thank you :)

Viruses (Home exercise)

Following exercises unfortunately can´t be done in Agora computer classes so you have to do exercises in home.

There is used F-secure Anti-Virus virus-scan program in following exercises for deleting viruses from floppy disks and hard disk. You can get a test version about F-Secure Anti-Virus from address <URL: https://www.europe.f-secure.com/download-purchase/download-forms/anti-virus.html>. for yourself.


http://appro.mit.jyu.fi/2001/kevat/propedeuttinen/demot/demo5/index.html
© Tommi Lahtonen ()<URL: http://www.iki.fi/hazor/>
23.01.2001 12:25:44