This works absolutely fine, as long as there is only one client connected. If you connect two clients at once, it sometimes gets stuck when transferring a file. That means, it'll log:
[I 2021-03-18 17:58:41] 127.0.0.1:50591-[Test] STOR c2_16.jpg completed=1 bytes=5242880 seconds=0.031
[I 2021-03-18 17:58:58] 127.0.0.1:50590-[Test] STOR c1_16.jpg completed=0 bytes=147456 seconds=17.141
(here after 31 completed files, one times out when receiving, although some bytes are received). I don't believe it's an error in the client, as it was first observed with two non-python clients. Also, I didn't observe this when using the ThreadedFTPServer instead of the FTPServer.
The error in general is reproducible and usually happens with less than 50 tries.
Hi there!
Operating System: Windows 10 / 1909 Python Version: 3.6.8 pyftpdlib Version: 1.5.6
lets start with the code that produces this issue:
Here is the code I use for shooting it with data:
This works absolutely fine, as long as there is only one client connected. If you connect two clients at once, it sometimes gets stuck when transferring a file. That means, it'll log:
(here after 31 completed files, one times out when receiving, although some bytes are received). I don't believe it's an error in the client, as it was first observed with two non-python clients. Also, I didn't observe this when using the ThreadedFTPServer instead of the FTPServer.
The error in general is reproducible and usually happens with less than 50 tries.
Thanks!