Sounds like the same problem I was having... And still am having
... I keep it at 1024 now and it works on most files but no matter what the packet size is, there will be an error on some files... I just change the packetsize and upload all the failed files...