Please нelp to find the bug - a file transfer from FTP

stevestrong
Posts: 1609
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Please нelp to find the bug - a file transfer from FTP

Post by stevestrong » Mon Jul 31, 2017 1:10 pm

client.peek() returns a byte, so I don't see any problem here, which does not mean that it cannot be something wrong with that function.

victor_pv
Posts: 1650
Joined: Mon Apr 27, 2015 12:12 pm

Re: Please нelp to find the bug - a file transfer from FTP

Post by victor_pv » Mon Jul 31, 2017 4:02 pm

stevestrong wrote:
Mon Jul 31, 2017 1:10 pm
client.peek() returns a byte, so I don't see any problem here, which does not mean that it cannot be something wrong with that function.
Yeah I mean not the return type being invalid, but rather peek returning a value higher than 4 when it is not expected, either due to a bug, or due to some corruption in the communication.

Post Reply