Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FTP server Request] #1898

Closed
3 of 4 tasks
FlotingDream opened this issue Oct 6, 2022 · 6 comments · Fixed by #7634
Closed
3 of 4 tasks

[FTP server Request] #1898

FlotingDream opened this issue Oct 6, 2022 · 6 comments · Fixed by #7634
Labels
enhancement New feature or request

Comments

@FlotingDream
Copy link

FlotingDream commented Oct 6, 2022

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

自带的 Webdav 在一些老软件(垃圾软件)或者一些安卓软件里很多没有支持。能否提供FTP server模式
非常感谢。

Suggested solution / 实现思路

FTP server 开源资料以及实现应该很多 非常感谢。

Additional context / 附件

可能有帮助的开源 go lib及项目
https://github.com/fclairamb/ftpserverlib
https://github.com/fclairamb/ftpserver
https://github.com/drakkan/sftpgo

@FlotingDream FlotingDream added the enhancement New feature or request label Oct 6, 2022
@welcome
Copy link

welcome bot commented Oct 6, 2022

Thanks for opening your first issue here! Be sure to follow the issue template!

@github-actions github-actions bot added the stale No activity for more than 30 days label Dec 1, 2022
@github-actions
Copy link

github-actions bot commented Dec 1, 2022

Hello, this issue has been inactive for more than 30 days and will be closed if inactive for another 30 days.

@github-actions
Copy link

github-actions bot commented Jan 1, 2023

Hello @, this issue was closed due to inactive more than 60 days. You can reopen or recreate it if you think it should continue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2023
@goldsoft8888
Copy link

同样的需求

@xhofe xhofe reopened this Jan 15, 2024
@xhofe xhofe reopened this Jan 15, 2024
@stale stale bot removed the stale No activity for more than 30 days label Jan 15, 2024
@xhofe xhofe added the pr-welcome Welcome to pull request label Jan 15, 2024
@goldsoft8888
Copy link

goldsoft8888 commented Mar 14, 2024

建议加入FTP SERVER功能,rclone 有,如果实现了,就可以不用RCLONE, 减少一个软件,减少多次缓存带来磁盘频繁读写,还可以减少CPU、内存的占用,提高速度与稳定性。
ftpserver功能,可以适用一些老设备或应用,这还是一个替代挂载到本地的好办法。
RCLONE是支持的
ftp server 兼容性更好
https://rclone.org/commands/rclone_serve_ftp/
sftp server 更强大,安全方便
https://rclone.org/commands/rclone_serve_sftp/

很多应用不支持webdav
我在支付宝与微信上赞助过ALIST,表示心意

@KirCute
Copy link
Contributor

KirCute commented Dec 6, 2024

有一个不好解决的问题,FTP 协议是用 STOR 命令实现上传到服务器的,这个命令只传递文件名,不传递将要上传的文件大小,用被动传输连接关闭作为判定文件上传结束的依据,但是大部分网盘 API 都需要在上传前确定文件大小。一种解决方案是通过 FTP 上传文件时,先将文件缓存在服务端的内存或外存里,待 FTP 传输完毕以后,再将缓存的文件上传到对应网盘,但这样会很明显的延长文件的总上传时间,而且对服务端的内存/外存容量有要求

@xhofe xhofe closed this as completed in 650b03a Dec 10, 2024
@github-actions github-actions bot removed the pr-welcome Welcome to pull request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants