pyftpdlib icon indicating copy to clipboard operation
pyftpdlib copied to clipboard

no data sent with STOR

Open WimWWimW opened this issue 4 years ago • 2 comments

version 1.5.6

When the client sends a STOR command, the local file is opened on the server, but the file object never gets write() of writelines() called. The file is created on the file system, but its size remains 0 bytes.

Eventually tested with the most basic setup as in the tutorial.

This happens with WinSCP as client, not with (window's xp cmd) ftp shell.

WimWWimW avatar Feb 25 '20 15:02 WimWWimW

see also: https://github.com/WimWWimW/mpFPTel/issues/1

WimWWimW avatar Feb 27 '20 16:02 WimWWimW

@giampaolo do you have an idea ? I get the same issue on my ftp server

Some users can't upload any files due to the fact that STOR sends no data at all (seems an issue with opening the Data Connection)

On the server logs I see

150 File status okay. About to open data connection.

and, while connection still hasn't been opened (?) The filezilla client is already sending data, therefore the server gets nothing at all...

It's a really weird which isn't 100% reproductible

giulioprovasi avatar Jul 01 '21 06:07 giulioprovasi