WEBVTT - This file was automatically generated by VIMEO

0
00:00:13.800 --> 00:00:14.500
Hello, everyone.

1
00:00:15.200 --> 00:00:18.200
So in this video we are going to discuss about some ports.

2
00:00:19.100 --> 00:00:22.000
And protocols. So the first Port that we are

3
00:00:22.100 --> 00:00:24.100
 going to discuss is FTP.

4
00:00:24.900 --> 00:00:28.300
FTP stands for file transfer protocol

5
00:00:29.100 --> 00:00:32.800
The port number for FTP is 20 and 21.

6
00:00:35.300 --> 00:00:38.200
The usage of FTP protocol is

7
00:00:38.200 --> 00:00:41.700
 to transfer files or upload and download

8
00:00:41.700 --> 00:00:44.200
 files between a server and a client.

9
00:00:45.300 --> 00:00:47.400
So basically system admins.

10
00:00:48.200 --> 00:00:51.000
Or any one of us can use FTP.

11
00:00:51.700 --> 00:00:54.500
To transfer files between a server and a client

12
00:00:54.500 --> 00:00:57.200
 so we can send file as well

13
00:00:57.200 --> 00:00:58.600
 as receive file.

14
00:01:00.700 --> 00:01:03.300
So the Practical time, let's see how

15
00:01:03.300 --> 00:01:05.300
 we can perform FTP.

16
00:01:06.200 --> 00:01:09.600
So as you can see, I have opened up my terminal on the

17
00:01:09.600 --> 00:01:13.000
 terminal you simply have to type FTP and

18
00:01:12.300 --> 00:01:13.600
 hit enter.

19
00:01:14.400 --> 00:01:17.300
After hitting enter you can see that you have come

20
00:01:17.300 --> 00:01:18.700
 inside the FTP.

21
00:01:19.400 --> 00:01:22.100
Now to connect to any server you need to

22
00:01:22.100 --> 00:01:22.900
 type open.

23
00:01:25.400 --> 00:01:28.900
A connection to whatever server you want to connect. So

24
00:01:28.900 --> 00:01:34.100
 let's say I want to connect to the server 192.168 43.213

25
00:01:35.600 --> 00:01:38.400
After giving the servers IP address you just

26
00:01:38.400 --> 00:01:39.300
 have to hit enter.

27
00:01:40.100 --> 00:01:43.300
After hitting enter you can see connected to the server.

28
00:01:45.600 --> 00:01:48.200
And a welcome message also appears.

29
00:01:49.100 --> 00:01:52.500
Perfect. Now it is asking for a username so

30
00:01:52.500 --> 00:01:55.200
 I will provide the username. So let's say

31
00:01:55.200 --> 00:01:56.400
 the username is admin.

32
00:01:57.200 --> 00:02:01.100
And then it will ask you to specify the password. I have

33
00:02:00.100 --> 00:02:03.200
 also given the password and now I

34
00:02:03.200 --> 00:02:05.400
 have successfully logged in into the application.

35
00:02:06.500 --> 00:02:09.300
After logging in into the FTP I will

36
00:02:09.300 --> 00:02:12.800
 just type the ls command which stands for list

37
00:02:12.800 --> 00:02:15.400
 to see whatever is there into

38
00:02:15.400 --> 00:02:16.400
 the FTP server?

39
00:02:18.300 --> 00:02:21.500
As you can see this is the output of the ls command

40
00:02:21.500 --> 00:02:24.400
 and there are couple of files and folders over there.

41
00:02:26.900 --> 00:02:29.200
So let's say we try to see what is

42
00:02:29.200 --> 00:02:31.000
 there inside this readme file?

43
00:02:33.200 --> 00:02:36.600
So to read this file, we need to download this file as

44
00:02:36.600 --> 00:02:39.300
 FTP does not allow an option to read it

45
00:02:39.300 --> 00:02:40.100
 to read the file.

46
00:02:41.300 --> 00:02:42.900
So first I have to download this.

47
00:02:44.300 --> 00:02:47.100
So for downloading I'm going to type a command that is

48
00:02:47.100 --> 00:02:49.800
 get because I want to get the file into my computer.

49
00:02:50.800 --> 00:02:53.200
Similarly to upload a file. I will

50
00:02:53.200 --> 00:02:54.300
 use put command.

51
00:02:56.600 --> 00:02:59.100
So I have given get and the file name

52
00:02:59.100 --> 00:03:02.500
 and you can see the transfer is complete and it

53
00:03:02.500 --> 00:03:05.000
 has been downloaded into my computer. So let me

54
00:03:05.200 --> 00:03:08.400
 just go into my computer and see what is inside this file.

55
00:03:17.100 --> 00:03:20.500
Let me search for the file and let me just try to open this file.

56
00:03:23.800 --> 00:03:26.500
So it is written. Congratulations on reaching here for

57
00:03:26.500 --> 00:03:27.200
 FTP.

58
00:03:28.200 --> 00:03:32.100
Perfect. So we have completed the FTP and

59
00:03:31.100 --> 00:03:34.900
 we have understood that how FTP works

60
00:03:34.900 --> 00:03:37.700
 and how you can perform successful FTP

61
00:03:37.700 --> 00:03:40.200
 to transfer files between two computers.

62
00:03:40.900 --> 00:03:41.300
Thank you.
