i am experiencing a weird issue:
I am using WinSCP.net and trying to upload many files to ftp server.
Process involves a lot of commands trying to find out if file or directory exists. And of course many commands for uploading a file.
After specific number of these commands I get error (usually MLST command for finding if directory exists) : Lost connection. Disconnected from server.
I've been trying to find a cause for this, but no luck. After many hours of testing I narrowed simulation to sending only one command (in filezilla log it is MLST) in a loop, so it looks like this in filezilla server log:
Code: Select all
(004702)11.08.2021 17:03:06 - fz (37.46.209.14)> MLST /backup3/test long path/one more long path/test123345
(004702)11.08.2021 17:03:06 - fz (37.46.209.14)> 550 File or directory not found.
(004702)11.08.2021 17:03:06 - fz (37.46.209.14)> MLST /backup3/test long path/one more long path/test123345
(004702)11.08.2021 17:03:06 - fz (37.46.209.14)> 550 File or directory not found.
(004702)11.08.2021 17:03:06 - fz (37.46.209.14)> MLST /backup3/test long path/one more long path/test123345
(004702)11.08.2021 17:03:06 - fz (37.46.209.14)> 550 File or directory not found.
(004702)11.08.2021 17:03:06 - fz (37.46.209.14)> MLST /backup3/test long path/one more long path/test123345
(004702)11.08.2021 17:03:06 - fz (37.46.209.14)> 550 File or directory not found.
(004702)11.08.2021 17:03:07 - fz (37.46.209.14)> MLST /backup3/test long path/one more long path/test123345
(004702)11.08.2021 17:03:07 - fz (37.46.209.14)> 550 File or directory not found.
If I change the path so it is longer the number of successful commands lowers down.
If i check for directory which exists, log looks like this:
Code: Select all
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> MLST /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> 250-Listing /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> type=dir;modify=20210805172843; /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> 250 End
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> MLST /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> 250-Listing /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> type=dir;modify=20210805172843; /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> 250 End
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> MLST /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> 250-Listing /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> type=dir;modify=20210805172843; /backup2
(004704)11.08.2021 17:08:51 - fz (37.46.209.14)> 250 End
So it seems to me, that it depends on amount of message data.
But why it is disconnecting anyway?
I tried two different Filezilla Servers (on different locations) and is the same problem on both. Version is 0.9.60.
When I try different FTP server (some linux one at NAS) it works without problem, thats why I assume it is server problem and not client.
Any idea whats wrong?
Thanks,
Filip