#default port ftp port 21
Here is what the above code is Doing:
1. We are importing the socket module.
2. We are creating a socket object.
3. We are connecting to the server.
4. We are sending a GET request to the server.
5. We are receiving the response from the server.
6. We are printing the response.