Skip to content

Commit 639374a

Browse files
authored
Update README.md
1 parent e2154dd commit 639374a

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

BasicPythonScripts/File Transfer/README.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Package/Script Name: Word Transfer
1+
# Package/Script Name: File Transfer
22

33
## Short description of package/script
44

@@ -14,25 +14,25 @@
1414

1515
A. Steps to create the socket program on word transfer from client to server with Ubuntu on VM as the server:
1616
- While creating the server file on Ubuntu(file_transfer_server):
17-
a. First created a socket
18-
b. Took an arbitary port number greater than 1023(in this case it is 2110) for the transfer of infromation
19-
c. Binded the ports of the client and server
20-
d. Listened to the client for information
21-
e. Received the file name from the client
22-
f. Opened a file with the same filename in write mode
23-
g. Received the contents of the file and wrote it on the new file
24-
h. Sent that the file has been received
25-
i. Ended the connection
17+
- a. First created a socket
18+
- b. Took an arbitary port number greater than 1023(in this case it is 2110) for the transfer of infromation
19+
- c. Binded the ports of the client and server
20+
- d. Listened to the client for information
21+
- e. Received the file name from the client
22+
- f. Opened a file with the same filename in write mode
23+
- g. Received the contents of the file and wrote it on the new file
24+
- h. Sent that the file has been received
25+
- i. Ended the connection
2626
- While creating the client file on Windows(word_transfer_client):
27-
a. First created a socket
28-
b. Took the same port number as in the server(in this case 3603)
29-
c. Looked for the ip address in the Ubuntu on VM
30-
d. Entered the ip address for connecting with the server
31-
e. Sent the filename to the server
32-
f. Sent the file contents to the server
33-
g. Received the file sending result from the server
34-
h. Displayed it to the client
35-
i. Ended the connection
27+
- a. First created a socket
28+
- b. Took the same port number as in the server(in this case 3603)
29+
- c. Looked for the ip address in the Ubuntu on VM
30+
- d. Entered the ip address for connecting with the server
31+
- e. Sent the filename to the server
32+
- f. Sent the file contents to the server
33+
- g. Received the file sending result from the server
34+
- h. Displayed it to the client
35+
- i. Ended the connection
3636

3737
## Output
3838

0 commit comments

Comments
 (0)