Opened 20 months ago
Closed 20 months ago
#12891 closed Bug report (outdated)
Wrong answer on 'SIZE' command
Reported by: | intervision | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Server |
Keywords: | SIZE, 550 | Cc: | |
Component version: | 0.9.41beta | Operating system type: | Windows |
Operating system version: | 10 (19044.2728) |
Description
Hello,
i have a CCTV system from TANTOS solutions with ability to upload files to FTP server when alarm triggers.
I have own FileZilla FTP server with next parameters:
OS: Windows 10 Pro (build 19044.2728)
FileZilla: 0.9.41 beta
I have separated account for my CCTV system with all permissions on its home directory.
My CCTV recorder can connect to my FTP server successfully, but it can not upload files on it.
When it tries to test connection i have following messags on logs:
(001186)SUN 26.3.23 18:46:14 - (not logged in) (IP hidden)> Connected, sending welcome message...
(001186)SUN 26.3.23 18:46:14 - (not logged in) (IP hidden)> USER login hidden
(001186)SUN 26.3.23 18:46:14 - (not logged in) (IP hidden)> 331 Password required for login hidden
(001186)SUN 26.3.23 18:46:14 - (not logged in) (IP hidden)> PASS *
(001186)SUN 26.3.23 18:46:14 - login hidden (IP hidden)> 230 Logged on
(001186)SUN 26.3.23 18:46:14 - login hidden (IP hidden)> PWD
(001186)SUN 26.3.23 18:46:14 - login hidden (IP hidden)> 257 "/" is current directory.
(001186)SUN 26.3.23 18:46:14 - login hidden (IP hidden)> QUIT
(001186)SUN 26.3.23 18:46:14 - login hidden (IP hidden)> 221 Goodbye
(001186)SUN 26.3.23 18:46:14 - login hidden (IP hidden)> disconnected.
When my CCTV recorder tries to upload files i have following messages in logs:
(001187)SUN 26.3.23 19:10:08 - (not logged in) (IP hidden)> Connected, sending welcome message...
(001187)SUN 26.3.23 19:10:08 - (not logged in) (IP hidden)> USER login hidden
(001187)SUN 26.3.23 19:10:08 - (not logged in) (IP hidden)> 331 Password required for login hidden
(001187)SUN 26.3.23 19:10:08 - (not logged in) (IP hidden)> PASS *
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> 230 Logged on
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> PWD
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> 257 "/" is current directory.
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> CWD /
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> 250 CWD successful. "/" is current directory.
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> CWD ./IP hidden/2023-03-26/03
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> 250 CWD successful. "/IP hidden/2023-03-26/03" is current directory.
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> size 03_A_20230326_190937.dav
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> 550 File not found
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> TYPE I
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> 200 Type set to I
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> PASV
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> 227 Entering Passive Mode (IP hidden,236,205)
As you can see the problem is in 550 response of FTP server because it can not return a size of file.
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> size 03_A_20230326_190937.dav
(001187)SUN 26.3.23 19:10:08 - login hidden (IP hidden)> 550 File not found
I have tested this behavior on other servers and it were succcessfull. The problem is only with FileZilla solution.
Also i sent a support request to my CCTV system manufacturer and they says, that this issue in my FTP server software.
You must update to the most recent version of FileZilla Server.