Page 254 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 254

Network Operating Systems-I




                    notes          If  you  can  connect  to  the  ftp  server,  that  means  you  successfully  setup  vsfpd  ftp  server  in
                                   Slackware Linux. Depends on how you configure vsftpd.conf file, you must provide username,
                                   whether it’s local user account or anonymous. You can find more about ftp client commands at
                                   Linux ftp tutorial - FTP client guides.


                                     Did u know?  To test our new ftp server, open a new terminal and login as a normal user.

                                   13.5 using ftp

                                   FTP is an acronym for File Transfer Protocol. It represents a widely-used, method for transferring
                                   files between two computers. One of the computers must be set up as a host or server. The other,
                                   known as the client, is the computer that you are using.
                                   There are two basic types of operations:

                                   1.   When you retrieve a file from the server, you are performing a “get” operation. This is also
                                       known as “downloading.”
                                   2.   When you post a file to the server, your are performing a “put” operation. This is also
                                       known as “uploading.”
                                   When you connect to an FTP server, you must send a username and password. In many cases the
                                   username “anonymous” may be used to mean “I am a visitor.” Even if you are visiting and FTP
                                   site and are not prompted for a username, the FTP server will assign the anonymous username
                                   to you. Most FTP servers ask which username you would like to use.




                                      Task     When you connect to an FTP server, you must send a username and password.
                                     Comment

                                   types of ftp “programs”

                                   There are a number of programs to help transfer files using FTP. Technical people tend to use a
                                   command line program built into most operating systems, and it has a simple name: ‘ftp’. But in
                                   order to keep network sniffers from reading your password when you connect to our ftp server,
                                   we use a secure ftp server. This means that you must use a secure ftp client that uses “SFTP”, or
                                   secure file transfer protocol.

                                   There are a number of popular freeware FTP programs such as WinSCP, CuteFTP, FileZilla,
                                   Fugu, and SmartFTP. In addition there are commercially available programs for those with too
                                   much money. For class purposes, FileZilla is a great program to use because it is free to use and
                                   runs on Windows, Macs, and Linux environments.
                                   Side note: another way to access files is to use your web browser. However, there are lots of traces
                                   of your username and password that will be left behind, so refrain from using this method.

                                   using fileZilla to transfer files

                                   Finally, we’re talking about transferring files. Whether you’re trying to get data from the server
                                   for an exercise, or trying to put your write-up into your student directory, the process is pretty
                                   much the same. There are only a few steps to this process. After a couple of uses, you’ll be a pro./
                                   p>
                                   1.   Start FileZilla. Ok, that one’s pretty easy. You’ll see a list of your folders and files on the left
                                       side of the program window.



          248                              LoveLy professionaL university
   249   250   251   252   253   254   255   256   257   258   259