really? Sorry, but are you not able to follow directions?
what effect would your change have to fix above problem?
(Oct-24-2019, 09:24 AM)buran Wrote: Everywhere in the code you compare bytestrings with strings. So the file is never send
if user_response[:2] == 'OK':this code from SERVER will never be True
You need to fix this and elsewhere (if any) in the code where you make such tests (data received via socket)... the same way like the other case - either decode bytestring or compare with bytestring, nit string
what effect would your change have to fix above problem?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs