Skip to content

Fix STOR command reply message to prevent client truncation#29

Merged
hxcan merged 1 commit into
masterfrom
fix/ftp-stor-reply
May 13, 2026
Merged

Fix STOR command reply message to prevent client truncation#29
hxcan merged 1 commit into
masterfrom
fix/ftp-stor-reply

Conversation

@sisterfuture

Copy link
Copy Markdown
Collaborator

问题描述

FTP 客户端(如某些版本的 Dolphin)报告 "Truncated server reply: '150 '",导致上传功能异常。

修复内容

将 STOR 命令的回复从 "150 " 改为 "150 Opening data connection for STOR",提供更完整的响应信息,避免客户端解析错误。

测试建议

  1. 使用 FTP 客户端连接服务器
  2. 上传文件,验证是否能正常完成上传

@hxcan hxcan merged commit 165ec2a into master May 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants