1 00:00:01,620 --> 00:00:09,270 So we'll be continuing this series now from the previous Call Me I have got somewhere to shoot that 2 00:00:09,270 --> 00:00:18,360 is after getting the text, the string from the user inputs I never put. 3 00:00:18,790 --> 00:00:25,560 So whenever this command inputs that index is not note, we are constrained to send a message. 4 00:00:25,830 --> 00:00:27,480 So in the on the client side. 5 00:00:27,690 --> 00:00:29,940 So it is a decoding for every second. 6 00:00:30,780 --> 00:00:38,880 So that's you're going to be is after sending the message we are going to make this on this CMT input 7 00:00:38,920 --> 00:00:39,180 ready. 8 00:00:39,180 --> 00:00:40,140 Next question. 9 00:00:41,370 --> 00:00:50,100 So whenever executes again we will be waiting for the user input to be entered in their webpage. 10 00:00:50,400 --> 00:00:57,750 So you make sure you put this one sim the input ready next discussion or otherwise since it's not the 11 00:00:57,750 --> 00:01:00,030 same, command will be sent over and over. 12 00:01:00,030 --> 00:01:01,380 And there we go. 13 00:01:01,530 --> 00:01:02,220 And under current. 14 00:01:03,660 --> 00:01:07,410 So in this we will be adding the file transfer functionality. 15 00:01:09,630 --> 00:01:11,400 The file transfer should be right. 16 00:01:11,730 --> 00:01:16,220 So we'll be giving this message like download file name. 17 00:01:16,230 --> 00:01:18,720 So this should be the command. 18 00:01:20,880 --> 00:01:22,710 So here we should write the code. 19 00:01:22,980 --> 00:01:28,050 The first checkpoint after the command input. 20 00:01:28,050 --> 00:01:32,640 Now discuss to know if simply input path threat index. 21 00:01:32,910 --> 00:01:37,050 So that means the user has entered some command in the webpage 22 00:01:39,780 --> 00:01:40,600 that spirit. 23 00:01:40,620 --> 00:01:43,530 So we need to split this using the whitespace. 24 00:01:44,070 --> 00:01:52,850 So this will be split in the list and we need to get the first value that is download. 25 00:01:53,100 --> 00:01:59,490 So we are checking if the user has entered the word or not if it's equal to download. 26 00:02:02,230 --> 00:02:05,710 Then what we need to do is we need to send this one at work. 27 00:02:06,010 --> 00:02:06,370 Okay. 28 00:02:06,640 --> 00:02:07,840 See them as equals to 29 00:02:11,500 --> 00:02:11,980 see them then. 30 00:02:12,880 --> 00:02:14,770 So this first document. 31 00:02:14,770 --> 00:02:22,870 So not the only points to download and we'll be sending that one connection. 32 00:02:23,200 --> 00:02:24,850 So now see that. 33 00:02:24,880 --> 00:02:29,920 And so sending the download file name stream this client. 34 00:02:31,570 --> 00:02:39,250 So after sending that, what we need is we need to going to receive more because we have to send this 35 00:02:39,250 --> 00:02:45,910 donor file name and the client should send the data of this file contents server. 36 00:02:45,990 --> 00:02:48,190 So within the contents is equals to. 37 00:02:50,620 --> 00:02:52,600 Cannot stand to see you off. 38 00:02:52,930 --> 00:02:56,230 So that's a2048 not be called. 39 00:02:59,960 --> 00:03:01,220 I've seen the content. 40 00:03:01,220 --> 00:03:03,500 So what we can do is a physical store. 41 00:03:04,040 --> 00:03:07,700 So I have created a sample directory output. 42 00:03:08,600 --> 00:03:10,340 So let me, uh. 43 00:03:11,570 --> 00:03:18,620 So this output is sporting all the files coming from the client in this output for that. 44 00:03:19,580 --> 00:03:21,620 So let's go and open all. 45 00:03:26,820 --> 00:03:27,080 Okay. 46 00:03:27,150 --> 00:03:31,560 Now on the press. 47 00:03:43,610 --> 00:03:46,230 Of breast cancer. 48 00:03:46,610 --> 00:03:50,120 Fighting in music was to see them then. 49 00:03:50,120 --> 00:03:58,970 But after the next the first two sorry, the second reggae industry if you speak by uh, sorry, not 50 00:03:59,000 --> 00:03:59,440 print. 51 00:04:00,230 --> 00:04:04,820 If you speak by rights piece, the second writer will be the file name. 52 00:04:05,090 --> 00:04:06,560 So index of one. 53 00:04:06,800 --> 00:04:08,300 So there should be a definite. 54 00:04:08,360 --> 00:04:16,310 So we can say, uh, but without the try and say that in this directory defining this one and we need 55 00:04:16,310 --> 00:04:18,040 to open this in a binary remote. 56 00:04:21,930 --> 00:04:23,910 Oh, that's not right. 57 00:04:24,090 --> 00:04:26,220 So writing down for contents. 58 00:04:26,220 --> 00:04:30,120 Contents that I say and go say shouldn't be. 59 00:04:30,150 --> 00:04:32,480 Because here going to write down quote. 60 00:04:32,500 --> 00:04:38,640 So let's look at one decode here and we are writing directly the contents. 61 00:04:40,290 --> 00:04:43,240 And if that person was in the third descriptor. 62 00:04:47,240 --> 00:04:48,980 So the operation has been completed. 63 00:04:49,010 --> 00:04:57,600 What we need to do is at the end of this, uh, operation, we need to see then after the next question. 64 00:05:01,730 --> 00:05:05,120 NS So we can see everything is because of this one. 65 00:05:06,950 --> 00:05:08,270 We also put the brake. 66 00:05:09,080 --> 00:05:10,970 I don't think we need any brake. 67 00:05:19,220 --> 00:05:22,930 So this is about the server side, a download functionality. 68 00:05:22,970 --> 00:05:27,950 So in the client side, what we need to do is whenever we do see the message. 69 00:05:28,790 --> 00:05:30,350 So if message. 70 00:05:32,520 --> 00:05:40,800 Of zero easy questions you should download so that means the how to see with the command with the download 71 00:05:40,800 --> 00:05:44,710 as the starting and the file name will be myself one. 72 00:05:44,730 --> 00:05:52,230 So we are spreading already this incoming message with the right space so that the list containing the 73 00:05:52,230 --> 00:05:58,710 download space, the file that is monitoring of astronomy and the file name as a second element. 74 00:05:59,970 --> 00:06:01,740 So for an amusement we have one. 75 00:06:04,440 --> 00:06:13,650 So what we're going to do is we are going to open this file name in the very binary mode, and that's 76 00:06:13,650 --> 00:06:15,690 the contents of the question you have not read. 77 00:06:16,920 --> 00:06:19,770 So we are reading the contents and therefore darkness. 78 00:06:22,550 --> 00:06:25,790 And we can say, yes, that's enough content. 79 00:06:25,820 --> 00:06:27,820 So we'll be sending that content as well. 80 00:06:29,000 --> 00:06:31,580 And after sending the content, we should go public. 81 00:06:31,580 --> 00:06:32,020 Then what? 82 00:06:32,090 --> 00:06:32,540 So. 83 00:06:37,610 --> 00:06:38,740 I think we should it. 84 00:06:45,630 --> 00:06:47,310 So now you can see the. 85 00:06:50,200 --> 00:06:52,960 Send the matter and it should be received. 86 00:06:56,500 --> 00:06:56,790 Okay. 87 00:06:56,800 --> 00:06:57,550 That should be fine. 88 00:06:57,550 --> 00:06:58,150 I think so. 89 00:06:58,360 --> 00:06:59,320 Let's hope so. 90 00:07:00,550 --> 00:07:03,940 And then in order to create a science like that, we actually need to condense. 91 00:07:03,940 --> 00:07:06,060 Not enough for the tree. 92 00:07:06,190 --> 00:07:07,330 So let's build this one. 93 00:07:11,430 --> 00:07:12,980 Let's try another set of rotor. 94 00:07:19,770 --> 00:07:21,960 And Canadians, you don't see anything. 95 00:07:21,960 --> 00:07:29,130 So I have already added some pieces here so you can add your desired uses as well. 96 00:07:29,640 --> 00:07:33,630 So let's run this and you can see trade executed this one. 97 00:07:34,740 --> 00:07:36,920 Now we can normally normal comments. 98 00:07:37,260 --> 00:07:42,450 So you can see now that's a downward flag. 99 00:07:42,450 --> 00:07:50,280 But the one thing you need to remember is the file directories the client is running. 100 00:07:51,570 --> 00:07:58,000 Since both server and clients groups are running from the same tree, we can just do that. 101 00:07:58,020 --> 00:07:58,830 Submit this one. 102 00:08:03,670 --> 00:08:04,620 It's go output. 103 00:08:04,720 --> 00:08:06,220 And you can see that. 104 00:08:08,140 --> 00:08:09,220 Let's do this. 105 00:08:09,910 --> 00:08:11,440 And what we're going to do is. 106 00:08:14,270 --> 00:08:18,920 We are going to set command output of threat index. 107 00:08:21,350 --> 00:08:24,830 This requires to file transfer. 108 00:08:26,750 --> 00:08:27,800 Successfully. 109 00:08:27,800 --> 00:08:32,900 So this string can be act as some indicator. 110 00:08:33,830 --> 00:08:36,650 I think we got the connection last year. 111 00:08:39,790 --> 00:08:42,550 So every time a train starts, the connection gets worse. 112 00:08:42,910 --> 00:08:45,400 So maybe fixing this later. 113 00:08:45,880 --> 00:08:51,040 So the clean scoop, the current two plus three churn like three out 5 seconds. 114 00:08:51,340 --> 00:08:55,750 So we we are doing that in the vacancies in functionality. 115 00:08:56,050 --> 00:08:57,880 So for now, let's go and connect this. 116 00:09:00,200 --> 00:09:02,740 And it's a donor flight that they submit. 117 00:09:03,800 --> 00:09:09,380 And you can see the message transfer successfully and know the exact content. 118 00:09:11,090 --> 00:09:18,800 So one thing the problem is it's scrubbed this one of many pool to see if you can see the number of 119 00:09:18,800 --> 00:09:19,790 bytes you are receiving. 120 00:09:20,030 --> 00:09:23,410 So this is just opposite of what it means in reality. 121 00:09:23,420 --> 00:09:26,590 Larger than the viruses are. 122 00:09:27,230 --> 00:09:28,220 So many bytes. 123 00:09:28,280 --> 00:09:34,250 So 1024 into one by one. 124 00:09:34,250 --> 00:09:37,580 Kirby and Kirby and renminbi. 125 00:09:39,050 --> 00:09:40,250 So this should be fine. 126 00:09:40,550 --> 00:09:47,690 So when referring to this value, this should be seen the final size of the then and be maximal. 127 00:09:51,550 --> 00:09:53,980 And next, moving on to that bird function. 128 00:09:54,340 --> 00:09:58,090 So that bird is somewhat reversed by this one. 129 00:09:58,630 --> 00:10:00,040 So that's going to work. 130 00:10:04,820 --> 00:10:13,160 And and if see them the input of the index that's picked. 131 00:10:13,370 --> 00:10:18,040 So again in the same manner if the first. 132 00:10:19,940 --> 00:10:20,490 Command. 133 00:10:20,840 --> 00:10:22,940 First of all, in the communities, they are poor. 134 00:10:26,000 --> 00:10:28,820 Then we'll be sending the contents that claimed. 135 00:10:29,630 --> 00:10:31,640 So this should be appear to find them. 136 00:10:33,410 --> 00:10:36,260 So you can also cut this one and best here. 137 00:10:39,280 --> 00:10:40,810 So let's get the final name. 138 00:10:54,290 --> 00:10:58,570 So they'll find there will be a fresh second element that is first index. 139 00:11:03,550 --> 00:11:11,350 I will be modifying a little bit from the download command so I could find them the so the file name. 140 00:11:11,410 --> 00:11:13,990 We don't know the file name. 141 00:11:15,310 --> 00:11:23,890 So what we can do is we can send the contents of the songs of the content along with the comment letter 142 00:11:23,920 --> 00:11:24,730 to zero for it. 143 00:11:24,730 --> 00:11:32,350 So there should be some example sap on the clean background noise, rough things out this file size 144 00:11:33,010 --> 00:11:38,860 and exactly that's the file content file size is equal to two. 145 00:11:39,280 --> 00:11:43,240 So you can just simply copy this one and sort of run. 146 00:11:43,240 --> 00:11:44,030 You can say Boop. 147 00:11:44,110 --> 00:11:47,920 So that is the final size. 148 00:11:51,870 --> 00:11:58,350 So physical to open of file name in that binary mode. 149 00:12:00,770 --> 00:12:03,880 And it's a contentious question you have not read. 150 00:12:04,860 --> 00:12:05,810 Yes, Marcus. 151 00:12:05,930 --> 00:12:09,380 So we should make sure the fair descriptor has been crossed. 152 00:12:09,890 --> 00:12:11,450 Now we got the contents right. 153 00:12:11,690 --> 00:12:12,530 So we need to. 154 00:12:12,800 --> 00:12:14,440 Oh, sorry to send that. 155 00:12:16,640 --> 00:12:17,150 This one. 156 00:12:17,630 --> 00:12:18,530 So copy this. 157 00:12:19,550 --> 00:12:22,010 So we need to actually first send this one. 158 00:12:23,780 --> 00:12:27,770 Sending this spring upload of finance 2048. 159 00:12:31,850 --> 00:12:39,170 So after that we should send that contents connection or send us contents. 160 00:12:42,150 --> 00:12:53,880 I've personally what we can say is so let's also quote this one alongside it if my sense of zero. 161 00:12:57,100 --> 00:12:57,640 Applaud. 162 00:13:01,910 --> 00:13:08,950 Then file New Year's message upfront and the file sizes myself. 163 00:13:12,140 --> 00:13:19,270 So we need to be in the receiving mode because the server should send the file, right, so we can to 164 00:13:20,090 --> 00:13:25,130 see us receive off and what we presume the file size. 165 00:13:25,220 --> 00:13:33,200 So we need to make sure this one is down to not the string type receiver finding things. 166 00:13:35,750 --> 00:13:46,700 And its contents and the physical to open off file name and read binary more. 167 00:13:48,110 --> 00:13:54,590 And we need to write the contents and we need to cause this file name. 168 00:13:55,280 --> 00:13:57,410 And we can send a message that. 169 00:13:59,520 --> 00:14:05,430 The fire has been received successfully. 170 00:14:06,150 --> 00:14:07,200 So we're going to. 171 00:14:09,590 --> 00:14:11,450 See us, not send us. 172 00:14:19,380 --> 00:14:20,150 Got fired. 173 00:14:20,370 --> 00:14:22,640 So that's not an awkward. 174 00:14:26,570 --> 00:14:33,020 So I was presenting this menu to, again, more of a normal reason for the comments. 175 00:14:34,250 --> 00:14:41,110 And the thing is, you can notice one thirds constant for all the comments because we don't tend to 176 00:14:41,120 --> 00:14:46,340 do more but command more than 20 or 30, etc.. 177 00:14:48,830 --> 00:14:50,330 So we are sending the contents. 178 00:14:50,510 --> 00:14:57,430 Now what we can do is message because the connection that you see, what's the zero for it? 179 00:15:00,460 --> 00:15:03,490 Move message easy cause she's still got fight. 180 00:15:04,630 --> 00:15:11,940 So this is this got so strong indicating that the fighter has been pressing successfully on the plane. 181 00:15:11,980 --> 00:15:13,870 So then what we can do is. 182 00:15:16,970 --> 00:15:22,280 CMB on tough pride index is equal to. 183 00:15:24,240 --> 00:15:26,820 This file sent. 184 00:15:29,540 --> 00:15:30,440 Successfully. 185 00:15:30,590 --> 00:15:31,910 So they should be fine. 186 00:15:32,960 --> 00:15:35,300 Alice What we can do is see them. 187 00:15:35,300 --> 00:15:42,080 They'll index the next to some error occur. 188 00:15:51,050 --> 00:15:52,140 So competition. 189 00:15:52,160 --> 00:16:01,220 So we need to make sure they input to an input is no, I think they should be fine. 190 00:16:01,460 --> 00:16:03,320 So let's go and run the server. 191 00:16:04,970 --> 00:16:08,540 And before that cat displayed that next be. 192 00:16:14,330 --> 00:16:17,180 So what we're going to do is, okay, let's drop this one. 193 00:16:18,620 --> 00:16:21,290 We are sending the fire in the flag. 194 00:16:21,350 --> 00:16:24,680 Now, before that, it is mandatory. 195 00:16:25,790 --> 00:16:27,410 So what we can do is. 196 00:16:34,720 --> 00:16:35,720 So they should be fine. 197 00:16:35,740 --> 00:16:39,240 So we're opening the file from Florida and the fighting. 198 00:16:41,620 --> 00:16:43,630 So let's let's run the server. 199 00:16:51,520 --> 00:17:04,120 And what we do is upload flag burning HD and fire things to 048 and submit this and you can see some 200 00:17:04,120 --> 00:17:04,840 error occurred. 201 00:17:13,310 --> 00:17:13,960 Well, I'm sorry. 202 00:17:13,970 --> 00:17:14,600 I'm sorry. 203 00:17:14,750 --> 00:17:17,110 So we need to open this one right away. 204 00:17:18,110 --> 00:17:18,890 Sorry, Father. 205 00:17:24,930 --> 00:17:32,010 So from here also you can check if one side is read more and others should be more. 206 00:17:37,010 --> 00:17:38,030 And refresh this. 207 00:17:39,470 --> 00:17:43,070 And that's a fact that we extend to 048. 208 00:17:43,760 --> 00:17:47,330 Submit this and we can see in successfully. 209 00:17:47,570 --> 00:17:55,010 So now in the mandatory, we shall see the flight data and you can see the content has been successfully 210 00:17:55,010 --> 00:17:55,580 uploaded. 211 00:17:57,410 --> 00:18:05,570 Now what we're going to do is we are going to modify something from part three import part. 212 00:18:07,400 --> 00:18:13,970 So this part is all like if you send this part of the searches are backward searches. 213 00:18:14,900 --> 00:18:24,140 This partner identified the actual part and it will not do any errors for these photos. 214 00:18:24,140 --> 00:18:26,270 Ashes and ashes. 215 00:18:27,170 --> 00:18:28,640 So what we're going to do is. 216 00:18:31,710 --> 00:18:32,830 But tough fighting there. 217 00:18:33,390 --> 00:18:33,780 Okay. 218 00:18:39,810 --> 00:18:43,230 But I'll phone them, so they should do fine. 219 00:18:44,040 --> 00:18:51,660 Let's go and download the word again, since it's in our mind they're trying to make this one. 220 00:18:59,210 --> 00:19:02,120 And it's a download now we can certainly. 221 00:19:22,760 --> 00:19:33,720 So you can also press the shoot and right click on this and you can see copy as but uh, okay, uh, 222 00:19:33,890 --> 00:19:36,170 don't include the conditions. 223 00:19:36,230 --> 00:19:38,600 I got the address and I submit this. 224 00:19:41,880 --> 00:19:43,470 And we got some error. 225 00:19:56,240 --> 00:19:59,780 So we got some wrote, I'd say part three part. 226 00:20:09,720 --> 00:20:13,050 Maybe we should use two backwater searches. 227 00:20:58,900 --> 00:21:00,520 So we are getting addressed somewhere. 228 00:21:06,610 --> 00:21:10,240 So here you can see the output. 229 00:21:10,660 --> 00:21:11,110 Okay. 230 00:21:13,690 --> 00:21:16,870 So we are getting in the receiving side. 231 00:21:19,380 --> 00:21:20,460 So that this hour. 232 00:21:43,850 --> 00:21:45,200 So let's do more with our book. 233 00:22:06,480 --> 00:22:14,070 So that's a downward slide again and we should see file transfer successfully and there are no errors 234 00:22:16,110 --> 00:22:20,890 and in our preferred error, okay, we are not selling the book. 235 00:22:24,550 --> 00:22:26,710 So what we can do is. 236 00:22:30,240 --> 00:22:31,320 Let's cut this one. 237 00:22:32,010 --> 00:22:32,910 And best here. 238 00:22:38,520 --> 00:22:39,540 And download. 239 00:22:43,330 --> 00:22:44,280 That's where I'm from. 240 00:22:44,620 --> 00:22:49,090 So now we have the flight data and it's going to be this. 241 00:22:52,630 --> 00:22:53,350 And. 242 00:22:56,900 --> 00:22:58,850 We did not get any fight. 243 00:23:04,040 --> 00:23:04,350 Okay. 244 00:23:04,490 --> 00:23:05,660 I understood 245 00:23:08,930 --> 00:23:11,450 the same file, but it is being over written. 246 00:23:11,750 --> 00:23:12,230 Sorry. 247 00:23:12,260 --> 00:23:13,040 Sorry for that. 248 00:23:15,470 --> 00:23:19,820 We need to change the narrative here. 249 00:23:37,830 --> 00:23:39,900 So if you can see the screen. 250 00:23:40,740 --> 00:23:43,680 So what we are going to do is we need to speak to this. 251 00:23:44,310 --> 00:23:49,380 According to this pullback, researchers, and then we're going to actually define it. 252 00:23:58,510 --> 00:24:00,010 And we can share. 253 00:24:03,220 --> 00:24:13,120 That's pretty tough feedback with Sessions and the ending one, so let's also print it out for them. 254 00:24:14,140 --> 00:24:16,630 So the sorority started to lose the connection. 255 00:24:25,030 --> 00:24:28,390 So now now we have the fact that they. 256 00:24:29,080 --> 00:24:30,460 So let's go into download. 257 00:24:35,620 --> 00:24:37,690 And you can see transfer successfully. 258 00:24:39,490 --> 00:24:41,890 And if you see the printable file name. 259 00:24:48,600 --> 00:24:48,920 Okay. 260 00:24:48,970 --> 00:24:52,230 We have the votes, so we have successfully brought this file. 261 00:24:53,820 --> 00:24:55,530 It's so wrong. 262 00:24:57,270 --> 00:24:58,380 It's also direct this. 263 00:25:03,830 --> 00:25:04,710 Let's go. 264 00:25:04,730 --> 00:25:09,470 And so Tavis good practice being great this. 265 00:25:14,520 --> 00:25:20,130 Pull back searches for the Windows systems if they don't is running on the Windows computer. 266 00:25:22,710 --> 00:25:24,050 So we will get there. 267 00:25:26,850 --> 00:25:28,620 Oh, we did not get there. 268 00:25:29,880 --> 00:25:32,550 So I thought, okay, this should be fine. 269 00:25:32,560 --> 00:25:39,300 So even this district works for Bangladesh and a single and a double Bangladesh. 270 00:25:40,500 --> 00:25:42,870 So this is the that's for this. 271 00:25:42,880 --> 00:25:45,630 We do we have a difference of functionality. 272 00:25:48,000 --> 00:25:56,370 And then the moment to specify the finances, we are sending this upload from the time machine.