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!
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
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
@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 !
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 :)
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 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
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."
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?
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!!
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.
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
Thank you so much. I am struggling when I try to coding. After seeing ur video I got what the concept is thank you so much🥺.it comes from my heart❤️
I'm glad to be of service 😊😊😊
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!
This is what we're currently doing at Uni and I've been struggling for the past four weeks!! I'm happy I found this video 🙌😭🔥
This is probably gonna help me sort out the real-life project problem in my company.....thanks again
This video is really useful for me and you explained the concept well maan thanks
Thanks for explaining each n everything u used into this
Still useful video after 3 years!
Great work man!
Bro i did the same but the data in server is not transferred to client. Please help
And it's not creating the file in the client side. Please Help
@@akhild1920 Same here. The text file lines are just showed in the terminal but the file is not downloaded.
@@akhild1920 need some more details ....
My Friend thaks so much, you video help me with a homework
Greetings from Colombia.
Thank you so much man you saved me on my school project!
First tutorial that worked :D
Thanks a lot
God bless you man !!
I loved the way you explained each and every function's properties.
I really loved this video. Keep it up man, short and to the point. Subscribed
God bless you bro your are amazing thats help me
source code pls
Very good tutorial! Keep up the good work brother!
Thanks a lot, i now got a clear idea
Very awesome explaining bro
But I want many clients and single server
thank you for explaining everything so well
fast and efficient tutorial
Thankyou it is very useful
Nice explanation
Great one
good explanation
saloni prajapati thanku 😊
Awesome!!!!!!!!!!!!!, thank you so much
Why did the client receive a 20KB file instead of a 1KB file? How to fix this problem?
I don't know why but the client stream does not read anything. Can you help me?
Thanks my friend👍👍👍
Hi, I ran the same code in Intellij Idea and the output lines of the text are shown in the terminal but the file is not downloaded
Do you have file transfer from client to server tutorial?
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
Hi, how would automate the process of calling fileclient after fileserver?
Thanks this was helpful
Thanks for your helpful videos, I wonder if there is a way to contact you, I want to ask some important questions if you don't mind🙏🏻
Thank you very much
need a java program that read the files from ftp path.Any idea ?
How to get the file name as dynamic input brother? Am struggling with it.
Does this work for transferring files between 2 computers via a network?
In your F: folder, there is already rolly.txt file??
Hi there. i just had a question about this video. Does the server accept multiple clients? and can these multiple clients communicate with each other.
Is there any restrictions about size of file for sharing between client and server
You are reading and transfering whole file at once, what if file is too large to fit in memory?say 10gb+ file
can we use the same program for transfer of video files by changing extension
what does buf do?
sir its work in txt file successfully.. but i want read pdf file..i did replace txt to pdf ..it does not work sir..
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
how this can be done between two different system..?
@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 !
How do I use this transfer for image file?
Frndz plzz do subscribe :)
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 :)
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.
please send me code which you have done email muhammadwakeel043@gmail.com , i will work on your problem
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
Love u so much
why we didn't used byte array in client code
Will this require a internet network connections.
nice sir,can u tell me how to stream audio from from pc to another pc in java
Udp program sir?
Can you help me to write a code to transfer file from local system to winscp server
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."
How I can send a photo from client instead of server? Please is urgent
Doesn't work with different network right?
bro please guide us how can i send file from one pc to multiple pc by using socket ????
How u created that server and client in same package
Dheepika P After creating a package u can create many classes inside it (the client and server are two java classes)
hi is this working for transfer file from one server to other?
ty for this video.....i have one doubt..........it is also appending no of null values in the output file!!
how to remove the null values??
what is the package ffile in your code? is this a user defined?if yes where is the code for it(can you send me)
Nothing.Package is just a sub folder in the project. Don't think too much over it.
Want to send a file from client to server..plz make a video on it..
i love your voice :> no joke
Thanks
Its work but size of file was changed we need to specify size in bytes
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?
You can find my code in the description, try to run that code it will work.
@@thecodersbay8157 its still showing the same..
@@manishasarkar5412 I had the same problem because I didn't include the final line in the client class where it writes to the file
@@charliebolton5531 Hello Charlie, I have the same problem as above, Did you mean you added fo.write(inputBytes, 0, inputBytes.length); in the end?
????????/hi pleeeeese can you help me How can we run it between two computers?
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!!
MAISSA info if you done file tranfer between two server ...please help me also
For fucks sake why is everyone using localhost and not a lan.
SIr i dont know hw to run your code in cmd pls help
use an ide ;/
Code s not working
Pls be my java tutor😫
You actually sending the content of the file.. not the actual file.... How to share the actual file through network using java?
very nice video sir , plz give me source code
email me please muhammadwakeel043@gmail.com
Still error
this is Server to client not client to server ya.???
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.
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
Yes , there is
code?
not working
source code pls
can someone do my assignment for me :')