Exercises


Exercises

1.

What changes does FTP make to an ASCII file when you download it in ASCII mode to a Windows machine from a Linux server? What changes are made when you download the file to a Mac?

2.

What happens if you transfer an executable program file in ASCII mode?

3.

When would ftp be a better choice than sftp?

4.

How would you prevent local users from logging in on a vsftpd server using their system username and password?

5.

What advantage does sftp have over ftp?

6.

What is the difference between cd and lcd in ftp?