So we'll be continuing this series now from the previous Call Me I have got somewhere to shoot that
is after getting the text, the string from the user inputs I never put.
So whenever this command inputs that index is not note, we are constrained to send a message.
So in the on the client side.
So it is a decoding for every second.
So that's you're going to be is after sending the message we are going to make this on this CMT input
ready.
Next question.
So whenever executes again we will be waiting for the user input to be entered in their webpage.
So you make sure you put this one sim the input ready next discussion or otherwise since it's not the
same, command will be sent over and over.
And there we go.
And under current.
So in this we will be adding the file transfer functionality.
The file transfer should be right.
So we'll be giving this message like download file name.
So this should be the command.
So here we should write the code.
The first checkpoint after the command input.
Now discuss to know if simply input path threat index.
So that means the user has entered some command in the webpage
that spirit.
So we need to split this using the whitespace.
So this will be split in the list and we need to get the first value that is download.
So we are checking if the user has entered the word or not if it's equal to download.
Then what we need to do is we need to send this one at work.
Okay.
See them as equals to
see them then.
So this first document.
So not the only points to download and we'll be sending that one connection.
So now see that.
And so sending the download file name stream this client.
So after sending that, what we need is we need to going to receive more because we have to send this
donor file name and the client should send the data of this file contents server.
So within the contents is equals to.
Cannot stand to see you off.
So that's a2048 not be called.
I've seen the content.
So what we can do is a physical store.
So I have created a sample directory output.
So let me, uh.
So this output is sporting all the files coming from the client in this output for that.
So let's go and open all.
Okay.
Now on the press.
Of breast cancer.
Fighting in music was to see them then.
But after the next the first two sorry, the second reggae industry if you speak by uh, sorry, not
print.
If you speak by rights piece, the second writer will be the file name.
So index of one.
So there should be a definite.
So we can say, uh, but without the try and say that in this directory defining this one and we need
to open this in a binary remote.
Oh, that's not right.
So writing down for contents.
Contents that I say and go say shouldn't be.
Because here going to write down quote.
So let's look at one decode here and we are writing directly the contents.
And if that person was in the third descriptor.
So the operation has been completed.
What we need to do is at the end of this, uh, operation, we need to see then after the next question.
NS So we can see everything is because of this one.
We also put the brake.
I don't think we need any brake.
So this is about the server side, a download functionality.
So in the client side, what we need to do is whenever we do see the message.
So if message.
Of zero easy questions you should download so that means the how to see with the command with the download
as the starting and the file name will be myself one.
So we are spreading already this incoming message with the right space so that the list containing the
download space, the file that is monitoring of astronomy and the file name as a second element.
So for an amusement we have one.
So what we're going to do is we are going to open this file name in the very binary mode, and that's
the contents of the question you have not read.
So we are reading the contents and therefore darkness.
And we can say, yes, that's enough content.
So we'll be sending that content as well.
And after sending the content, we should go public.
Then what?
So.
I think we should it.
So now you can see the.
Send the matter and it should be received.
Okay.
That should be fine.
I think so.
Let's hope so.
And then in order to create a science like that, we actually need to condense.
Not enough for the tree.
So let's build this one.
Let's try another set of rotor.
And Canadians, you don't see anything.
So I have already added some pieces here so you can add your desired uses as well.
So let's run this and you can see trade executed this one.
Now we can normally normal comments.
So you can see now that's a downward flag.
But the one thing you need to remember is the file directories the client is running.
Since both server and clients groups are running from the same tree, we can just do that.
Submit this one.
It's go output.
And you can see that.
Let's do this.
And what we're going to do is.
We are going to set command output of threat index.
This requires to file transfer.
Successfully.
So this string can be act as some indicator.
I think we got the connection last year.
So every time a train starts, the connection gets worse.
So maybe fixing this later.
So the clean scoop, the current two plus three churn like three out 5 seconds.
So we we are doing that in the vacancies in functionality.
So for now, let's go and connect this.
And it's a donor flight that they submit.
And you can see the message transfer successfully and know the exact content.
So one thing the problem is it's scrubbed this one of many pool to see if you can see the number of
bytes you are receiving.
So this is just opposite of what it means in reality.
Larger than the viruses are.
So many bytes.
So 1024 into one by one.
Kirby and Kirby and renminbi.
So this should be fine.
So when referring to this value, this should be seen the final size of the then and be maximal.
And next, moving on to that bird function.
So that bird is somewhat reversed by this one.
So that's going to work.
And and if see them the input of the index that's picked.
So again in the same manner if the first.
Command.
First of all, in the communities, they are poor.
Then we'll be sending the contents that claimed.
So this should be appear to find them.
So you can also cut this one and best here.
So let's get the final name.
So they'll find there will be a fresh second element that is first index.
I will be modifying a little bit from the download command so I could find them the so the file name.
We don't know the file name.
So what we can do is we can send the contents of the songs of the content along with the comment letter
to zero for it.
So there should be some example sap on the clean background noise, rough things out this file size
and exactly that's the file content file size is equal to two.
So you can just simply copy this one and sort of run.
You can say Boop.
So that is the final size.
So physical to open of file name in that binary mode.
And it's a contentious question you have not read.
Yes, Marcus.
So we should make sure the fair descriptor has been crossed.
Now we got the contents right.
So we need to.
Oh, sorry to send that.
This one.
So copy this.
So we need to actually first send this one.
Sending this spring upload of finance 2048.
So after that we should send that contents connection or send us contents.
I've personally what we can say is so let's also quote this one alongside it if my sense of zero.
Applaud.
Then file New Year's message upfront and the file sizes myself.
So we need to be in the receiving mode because the server should send the file, right, so we can to
see us receive off and what we presume the file size.
So we need to make sure this one is down to not the string type receiver finding things.
And its contents and the physical to open off file name and read binary more.
And we need to write the contents and we need to cause this file name.
And we can send a message that.
The fire has been received successfully.
So we're going to.
See us, not send us.
Got fired.
So that's not an awkward.
So I was presenting this menu to, again, more of a normal reason for the comments.
And the thing is, you can notice one thirds constant for all the comments because we don't tend to
do more but command more than 20 or 30, etc..
So we are sending the contents.
Now what we can do is message because the connection that you see, what's the zero for it?
Move message easy cause she's still got fight.
So this is this got so strong indicating that the fighter has been pressing successfully on the plane.
So then what we can do is.
CMB on tough pride index is equal to.
This file sent.
Successfully.
So they should be fine.
Alice What we can do is see them.
They'll index the next to some error occur.
So competition.
So we need to make sure they input to an input is no, I think they should be fine.
So let's go and run the server.
And before that cat displayed that next be.
So what we're going to do is, okay, let's drop this one.
We are sending the fire in the flag.
Now, before that, it is mandatory.
So what we can do is.
So they should be fine.
So we're opening the file from Florida and the fighting.
So let's let's run the server.
And what we do is upload flag burning HD and fire things to 048 and submit this and you can see some
error occurred.
Well, I'm sorry.
I'm sorry.
So we need to open this one right away.
Sorry, Father.
So from here also you can check if one side is read more and others should be more.
And refresh this.
And that's a fact that we extend to 048.
Submit this and we can see in successfully.
So now in the mandatory, we shall see the flight data and you can see the content has been successfully
uploaded.
Now what we're going to do is we are going to modify something from part three import part.
So this part is all like if you send this part of the searches are backward searches.
This partner identified the actual part and it will not do any errors for these photos.
Ashes and ashes.
So what we're going to do is.
But tough fighting there.
Okay.
But I'll phone them, so they should do fine.
Let's go and download the word again, since it's in our mind they're trying to make this one.
And it's a download now we can certainly.
So you can also press the shoot and right click on this and you can see copy as but uh, okay, uh,
don't include the conditions.
I got the address and I submit this.
And we got some error.
So we got some wrote, I'd say part three part.
Maybe we should use two backwater searches.
So we are getting addressed somewhere.
So here you can see the output.
Okay.
So we are getting in the receiving side.
So that this hour.
So let's do more with our book.
So that's a downward slide again and we should see file transfer successfully and there are no errors
and in our preferred error, okay, we are not selling the book.
So what we can do is.
Let's cut this one.
And best here.
And download.
That's where I'm from.
So now we have the flight data and it's going to be this.
And.
We did not get any fight.
Okay.
I understood
the same file, but it is being over written.
Sorry.
Sorry for that.
We need to change the narrative here.
So if you can see the screen.
So what we are going to do is we need to speak to this.
According to this pullback, researchers, and then we're going to actually define it.
And we can share.
That's pretty tough feedback with Sessions and the ending one, so let's also print it out for them.
So the sorority started to lose the connection.
So now now we have the fact that they.
So let's go into download.
And you can see transfer successfully.
And if you see the printable file name.
Okay.
We have the votes, so we have successfully brought this file.
It's so wrong.
It's also direct this.
Let's go.
And so Tavis good practice being great this.
Pull back searches for the Windows systems if they don't is running on the Windows computer.
So we will get there.
Oh, we did not get there.
So I thought, okay, this should be fine.
So even this district works for Bangladesh and a single and a double Bangladesh.
So this is the that's for this.
We do we have a difference of functionality.
And then the moment to specify the finances, we are sending this upload from the time machine.