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

feat: ftp server support #7634

Merged
merged 3 commits into from
Dec 10, 2024
Merged

feat: ftp server support #7634

merged 3 commits into from
Dec 10, 2024

Conversation

KirCute
Copy link
Contributor

@KirCute KirCute commented Dec 9, 2024

FTP server endpoint realized via fclairamb/ftpserverlib
Listen on 5221 port by default.
CANNOT guarantee that using any FTP client to operate any network drive will be without issues, nor can it be guaranteed to work exactly as specified in the RFC documents.
Tested operating BaiduNetdisk, SFTP, Local files and Upyun OSS by FileZilla.

Closes #1898

@KirCute
Copy link
Contributor Author

KirCute commented Dec 9, 2024

frontend part AlistGo/alist-web#207

@xhofe xhofe merged commit 650b03a into AlistGo:main Dec 10, 2024
3 checks passed
@goldsoft8888
Copy link

goldsoft8888 commented Dec 10, 2024

太棒了,我一直在等待FTPSERVER功能,还有ALIST的WEBDAV的流式上传(这个功能似乎很难等到),挂载rclone并不是好办法,重复的上传与磁盘读写,生成两套临时文件,对CPU、内存等都占用,最好只用alist 这一个软件就可以解决。

@KirCute
Copy link
Contributor Author

KirCute commented Dec 10, 2024

太棒了,我一直在等待FTPSERVER功能,还有ALIST的WEBDAV的流式上传(这个功能似乎很难等到),挂载rclone并不是好办法,重复的上传与磁盘读写,生成两套临时文件,对CPU、内存等都占用,最好只用alist 这一个软件就可以解决。

我不知道rclone是怎么同步的,不过现在这套FTP的方案,下载是直接转发的HTTP响应,应该是解决临时文件的问题了,上传的话还是必须得先存一份临时文件,等FTP这边传输完毕以后再一块上传到网盘,主要是HTTP协议必须提供上传文件的大小,偏偏FTP上传的时候是不提供文件大小的,只能存这一次临时文件来计算出文件大小

@KirCute KirCute deleted the feat/ftp-server branch December 10, 2024 13:04
long2005a1 added a commit to long2005a1/Long-Cloud that referenced this pull request Dec 16, 2024
@KirCute KirCute mentioned this pull request Dec 21, 2024
4 tasks
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.

[FTP server Request]
3 participants