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
Feature request - rclone serve ftp #2151
Comments
Tried using webDAV for this? Need a different client like filezilla pro, but windows and other operating systems can mount webDAV as a drive without extra software. |
At the moment we have rclone serve webdav and rclone serve http for read only access. I could imagine an Another choice you have is to use |
I can try something if that is ok? I find I would suggest using https://github.com/fclairamb/ftpserver or https://github.com/goftp/server. To compare ftp features that they offer :
FTP Commands: https://www.iana.org/assignments/ftp-commands-extensions/ftp-commands-extensions.xhtml Both use standard library (except fclairamb/ftpserver that use go-kit for logging) |
@sapk yes that would be great if you wanted to have a go. You should find the vfs layer gives you objects which do everything you need nearly. I note that in goftp the file objects are nearly os.FileInfo - I might be inclined to add the I'd start from the webdav code which has the boiler plate for making a VFS. From there it should be reasonably straight forward to plug either of those FTP servers in. For unit tests, you can wire up the ftp backend to unit test the ftp server - that is what I did with webdav and I think it worked quite well. As for which to choose... |
Thanks to @sapk this is now done! rclone now has a Find it in the latest beta (in 15-30 mins) and it will be in v1.44. Please put any issues found in a new issue - thanks. |
I would like to be able to access an rclone remote as though it were a directory on an FTP server. Basically, rclone would be the ftp server, and remotes are subdirectories under the root. I could then use the client of my choice (filezilla) to do things like move files via drag-n-drop and rename files/folders. Of course, I shouldn't be able to delete the remotes, but everything else should work as though it were a normal file or folder on an ftp server. Any reason this would not be feasible?
The text was updated successfully, but these errors were encountered: