Skip to content

Bump builtinftp to 2026.3.31 - Fix LIST command for built-in FTP server#7

Merged
sisterfuture merged 1 commit into
masterfrom
update/builtinftp-2026.3.31
Mar 31, 2026
Merged

Bump builtinftp to 2026.3.31 - Fix LIST command for built-in FTP server#7
sisterfuture merged 1 commit into
masterfrom
update/builtinftp-2026.3.31

Conversation

@sisterfuture

Copy link
Copy Markdown
Collaborator

升级 builtinftp 到 2026.3.31 - 修复 LIST 命令

更新内容

依赖升级:

  • builtinftp: 2025.12.152026.3.31
  • 移除显式的 ftpserver 依赖(现在通过 builtinftp 传递依赖)

包含修复:

  • 🔍 修复 LIST 命令参数解析
    • builtinftp 2026.3.31 包含 ftpserver 2026.3.39
    • 添加 endsWith("/") 检查,正确处理 LIST /LIST /path/ 等命令
    • 最小化修改:只添加了一个条件判断

影响范围

JoyMan 内置 FTP 服务器:

  • ✅ 修复 list_ftp_directory 工具返回空列表的问题
  • ✅ 支持正确列出手机目录
  • ✅ 用于任务数据备份和同步时能正常访问目录结构

变更详情

  • 分支: update/builtinftp-2026.3.31
  • 提交: 9d12c9e5ae1c4caf5ca840466f693dca1633d775
  • 文件: app/build.gradle
  • 修改:
    • builtinftp 版本升级
    • 移除显式的 ftpserver 依赖(不再需要)

测试验证

已在 hxftpserver 和未来姐姐项目中验证:

  • list_ftp_directory 工具返回完整目录列表
  • ✅ 中文文件名正常显示
  • ✅ 所有 FTP 功能正常工作

关联 PR:

JitPack 构建: https://jitpack.io/#hxcan/builtinftp/2026.3.31

- builtinftp: 2025.12.15 → 2026.3.31
- Remove explicit ftpserver dependency (now transitively included via builtinftp)
- builtinftp 2026.3.31 includes ftpserver 2026.3.39 with LIST command fix
- Fixes directory listing for built-in FTP server
@sisterfuture sisterfuture merged commit ea33016 into master Mar 31, 2026
1 check failed
@hxcan hxcan deleted the update/builtinftp-2026.3.31 branch April 1, 2026 02:10
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.

1 participant