Skip to content

Bump ftpserver dependency to 2026.3.39 - Fix LIST command parsing#2

Merged
hxcan merged 2 commits into
masterfrom
update/ftpserver-2026.3.39
Mar 31, 2026
Merged

Bump ftpserver dependency to 2026.3.39 - Fix LIST command parsing#2
hxcan merged 2 commits into
masterfrom
update/ftpserver-2026.3.39

Conversation

@hxcan

@hxcan hxcan commented Mar 31, 2026

Copy link
Copy Markdown
Owner

升级 ftpserver 依赖到 2026.3.39

更新内容

依赖升级:

  • ftpserver: 2026.1.292026.3.39

包含修复:

  • 🔍 修复 LIST 命令参数解析
    • 添加 endsWith("/") 检查,正确处理 LIST /LIST /Download/ 等命令
    • 最小化修改:只添加了一个条件判断
    • 完整保留所有调试日志和功能

影响范围

builtinftp 库:

  • ✅ 内置的 FTP 服务器能正确响应目录列表请求
  • ✅ 支持 LIST /LIST /path/ 等命令格式
  • ✅ 用于未来姐姐应用的数据备份功能时能正常访问目录结构

变更详情

  • 分支: update/ftpserver-2026.3.39
  • 提交: 0f2cae7978155d64a9188e58cdfb4e098d58d5fd
  • 文件: builtinftp/build.gradle
  • 修改: ftpserver 版本升级

后续步骤:

  1. 合并此 PR
  2. 打 tag 2026.3.31 (或下一个可用版本)
  3. 触发 JitPack 构建
  4. 更新 future sister 项目依赖到新版本

关联 PR:

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

hxcan added 2 commits March 31, 2026 18:20
- Update ftpserver: 2026.1.29 → 2026.3.39
- Includes LIST command fix (endsWith("/") check)
- Enables correct directory listing for built-in FTP server
Previous commit accidentally replaced entire file with only dependencies snippet.
This restores the FULL build.gradle file with:
1. ftpserver dependency: 2026.1.29 → 2026.3.39
2. All android configuration, publishing setup preserved

The ftpserver 2026.3.39 includes the LIST command fix (endsWith("/") check).
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