debug: 添加调试日志,输出到外置存储#10
Closed
sisterfuture wants to merge 1 commit into
Closed
Conversation
新增功能: 1. writeDebugLog() - 写入调试日志到 /sdcard/Download/builtinftp_debug.log 2. logFtpCommand() - 记录所有 FTP 命令 3. logFtpReply() - 记录所有 FTP 响应 4. processStorCommand() 中改进 150 响应消息,便于调试 调试信息包括: - FTP 命令接收 - FTP 响应发送(特别是 STOR 命令的 150 响应) - 文件上传进度 - 错误信息
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
调试目的
解决未来姐姐
ftpFileWrite工具向太极 FTP 服务器上传文件失败的问题。错误信息:
Truncated server reply: '150 '(MalformedServerReplyException)新增调试功能
/sdcard/Download/builtinftp_debug.log,便于通过未来姐姐直接读取logFtpCommand()和logFtpReply()调试步骤
/sdcard/Download/builtinftp_debug.log分析失败原因待解决