Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Oct 9, 2025

The file size is weirdly returned in a 150 or 126 response as "XXX bytes" mentioned somewhere in the response string. This is a rewrite of the size scanner to replace the strange strstr() + backwards search from before with a plain forward search until '[number] + " bytes"' is a match.

The file size is weirdly returned in a 150 or 126 response as "XXX
bytes" mentioned somewhere in the response string. This is a rewrite of
the size scanner to replace the strange strstr() + backwards search from
before with a plain forward search until '[number] + " bytes"' is a
match.
@bagder bagder added the FTP label Oct 9, 2025
@bagder bagder marked this pull request as ready for review October 9, 2025 20:50
@bagder bagder closed this in 6c03381 Oct 9, 2025
@bagder bagder deleted the bagder/ftp-size branch October 9, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant