Skip to content

add FTP storage backend - #492

Draft
milahu wants to merge 7 commits into
ikatson:mainfrom
milahu:ftp-storage
Draft

add FTP storage backend#492
milahu wants to merge 7 commits into
ikatson:mainfrom
milahu:ftp-storage

Conversation

@milahu

@milahu milahu commented Oct 5, 2025

Copy link
Copy Markdown

early draft to add a FTP storage backend

use case:
bittorrent reverse proxy
running on a fast cache server with limited storage
in front of a slow backend server with large storage

remotefs-ftp does not work because remotefs is not thread-safe
see e9dcd16

async_ftp is hard to integrate
because all the storage functions are sync...
i am not good enough in Rust for such a large task
and github copilot fails on complex errors

note:
the FTP protocol is an implementation detail
it could be any network filesystem:
NFS, SMB, HTTP, WebDAV, SCP, Rsync, Rclone, ...

alternatives:

@teodorkostov

Copy link
Copy Markdown

Pointless. Mount FTP to file system and run rqbit.

This PR will increase the codebase needlessly.

@milahu

milahu commented Jul 11, 2026

Copy link
Copy Markdown
Author

Mount FTP to file system and run rqbit

this should run on a shared server, so i have:
no root access, no fuse kernel module, no ptrace, ...

the first step to implement such a network storage backend would be
to convert all filesystem operations to async

@teodorkostov

Copy link
Copy Markdown

If you are using it like that and you are facing such challenges it should occur to you that the technologies you are using are probably not right for the job. Storage for servers, VMs and orchestrators is a problem that has been already solved so many times. No point in adding code to a torrent client that would solve the same thing again.

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.

2 participants