Re: [BangPypers] reqiured help for final year project - urgent

2008-04-23 Thread Anand Balachandran Pillai
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

Re: [BangPypers] reqiured help for final year project - urgent

2008-04-23 Thread Amal
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

[BangPypers] reqiured help for final year project - urgent

2008-04-23 Thread Prajakta Chaudhari
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