THANK YOU! This helped me out for a part of my project for a p2p network. Instead of blindly/cluelessly copying code, this video guided me to understanding how to implement the method. This is how it should be! Thank you for teaching us!
Thank you for this ♥️ Do you have tips on how, since i don't know the length of the file sent, the program sends parts of the file and then whoever receives it keeps reading until the file ends? For example, for big files
@Thecodersbay Thanks for your Video! I just have one problem, that is a file with empty content. The file is successfully transferred, but no content in it. Can you help me out what might be the problem? I followed line after line. But I got this result. Thank you !
hey thanks your video helped alot but in my case the ttttt.txt file has been created but the data is not tranfered..the code is exact same with yours.can you tell what is the problem?
I don't understand how your file is 20 kB but your byte array is of length 2002 only edit : your file rolly is originally 1 kB ( 3:00 ) but when you transfer it as tttttt it's 20 kB ( 9:10 )
Hii as first he declared file as the input of 202 Byte which is 1 kb in general and then after sending he declared the byte buffer of 20002 byts eqls 19.5 kb or Rounded 20kb so thats why the input buffer of array plays an important role here
who said indian can't explain stuff well or there explanation is not understandable.... go ahead and watch this video i bet you will understand every concept on this topic :)
good work .i actually want bothe client and server to send and receive files.i tried to combine bothe codes but it did not work .any idea how i can do it!!
Can u try to send an excel file to the client and then try to open it over there? You may face error like: "We found a problem with some content in 'Abc.xlsx'. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes."
Bhai localhost mein sahi se kaam kar raha hai but agar router ke ip address deke transfer karta hun to file ki size chahe kuch bhi ho sirf 739bytes ka ek file ban raha hai aur uske andar ka content transfer nehi ho raha hai kuch solution hai to bata do please
I've successfully done it , but having trouble while doing b/w 2 diff PCs. The client cannot identify/recognise the server. Both PCs are connected to the same network.
Thank you It helped me a lot.If we specify the byte array size as 100 then only first 100 bytes of the txt file are sending for send the 1MB file with it .Is there a way of using the loops
Thanks for explain all kind of things. I have a question, I am trying to make an application file server and file client, they are always can send file and receive, but not to close socket connection, I use this way; www.imageurl.ir/images/97242150243110244356.png, I am waiting your response, thanks.