-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.txt
More file actions
91 lines (41 loc) · 2.05 KB
/
Copy pathlog.txt
File metadata and controls
91 lines (41 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
------------------------------------Client--------------------------------------
Microsoft Windows [Version 10.0.19042.928]
(c) Microsoft Corporation. All rights reserved.
C:\Users\aksha\OneDrive\Desktop\DN\Assignment_3\Question_3>python clientTemplate.py
Client connected to server: localhost : 9999
Sending 'LIST_FILES' command to the server...
[SERVER]: No files available at the moment!
Sending 'UPLOAD' command to the server...
[SERVER]: Please send corresponding filename and filesize!
Sending filename & filesize to the server...
Filename: hacker_cat.jpg, Filesize: 194560
[SERVER]: Ready to receive the file
Matching MD5 hashes (Client & Server) after UPLOAD...
Client MD5 (Original Image): d41d8cd98f00b204e9800998ecf8427e
Server MD5 (Uploaded/Downloaded Image): d41d8cd98f00b204e9800998ecf8427e
-----Success-----
Sending 'LIST_FILES' command to the server once again...
[SERVER]: Following files are available:-
d41d8cd98f00b204e9800998ecf8427e;hacker_cat;194560.jpg
Sending 'DOWNLOAD' command to the server...
[SERVER]: Please send a file ID
Sending file ID to the server...
File ID that is sent to server is: d41d8cd98f00b204e9800998ecf8427e
Matching MD5 hashes (Client & Server) after DOWNLOAD...
Client MD5 (Original Image): d41d8cd98f00b204e9800998ecf8427e
Server MD5 (Uploaded/Downloaded Image): d41d8cd98f00b204e9800998ecf8427e
-----Success-----
Closing Client Socket...
C:\Users\aksha\OneDrive\Desktop\DN\Assignment_3\Question_3>
--------------------------------------------------------------------------------
------------------------------------Server--------------------------------------
Microsoft Windows [Version 10.0.19042.928]
(c) Microsoft Corporation. All rights reserved.
C:\Users\aksha\OneDrive\Desktop\DN\Assignment_3\Question_3>python serverTemplate.py
Server is listening on port: 9999
Client connected: ('127.0.0.1', 52782)
Command received: LIST_FILES
Command received: UPLOAD
Command received: LIST_FILES
Command received: DOWNLOAD
--------------------------------------------------------------------------------