You are sending and receiving only 1024 bytes of data, so how
do you expect large files such as image or audio files to go through ?
You need to chunk your data to readable small pieces something
in the range of 4-16 kib (4096-16384 bytes) and keep reading
and sending the bytes in a loop to the ser
If you tell what the problem is then may be we can help.
One issue I noticed is you are using csoc.recv(1024) . Which is tooo small
for the other file formats. So what u can do is write a loop there to
receive the entire data. Basically when u say csoc.recv(1024) It reads only
1024 bytes from the
Sir,
We were suggested your name by a friend of ours in Thadomal Sahani Engineering
College. We are students of K. J. Somaiya College of Engineering. We are doing
our final year project in Python and need some help.
Our project is : we wanted to transfer all types of files(.txt, .jpg, .mp3,
.mp