FTP is a “file transfer protocol”. This is used to share the files among the heterogeneous OS environments.
We can share files from Linux to windows & vice versa. Linux-AiX
In the above diagram, we have 3 systems as shown.
• Client machine
Windows – ftp client installed. we can put and get files from both Linux and UNIX machines.
• Linux Machine
Linux – ftp client & server components installed. For getting and putting the files with other servers. This machine can act as both server and client.
• Unix Machine
AIX – ftp client & server components installed. For getting and putting the files with other servers. This machine can act as both client and server.
Note: When we say ftp clients, it could be
⇒ Command mode ftp access over cmd in windows.
⇒ Winscp etc
Black – Arrow,
Represents the session initiation. We can observe that connection is always initiated from a ftp client machine to ftp server machine.
Orange – Arrow,
Represents the data flow mode. Once the connection is established files can be uploaded or downloaded from ftp server machine from clients.
• Ftp supports only file I/O this means we can transfer the file only.
• Using ftp we cannot transfer the directory.
For more understanding Step by Step installation for FTP server and look around for “ftp” command in that system.
• We can’t connect,
ftp client → ftp client,
ftp server → ftp server
ftp server → ftp client.