DisboxApp / web

Use Discord as a file storage service.
https://disboxapp.github.io/web/
GNU Affero General Public License v3.0
470 stars 87 forks source link

suggestion: Add support for rclone #82

Closed jollran2005 closed 6 months ago

jollran2005 commented 9 months ago

Hello,

I would like to know if it in any way would be possible to add support for Disbox to rclone. Here is the link to the github if anyone wants to look into it: https://github.com/rclone/rclone

Thanks!

Shieldowskyy commented 9 months ago

bump. Great idea! This would probably be doable via the Javascript API

jollran2005 commented 9 months ago

bump. Great idea! This would probably be doable via the Javascript API

Yeah, sadly I'm no programmer myself but I'll do what I can to try and make it work.

Shieldowskyy commented 9 months ago

Rclone allows you to connect to FTP servers. @tris203 made an FTP implementation for Disbox which can be a bridge between other software. https://github.com/tris203/disftp However, from what I checked, it doesn't work very well with Rclone yet and you can't see the folders.

jollran2005 commented 9 months ago

Alright thanks, hopefully someone can look into developing it further and making it work with rclone

jollran2005 commented 9 months ago

from what I checked, it doesn't work very well with Rclone yet and you can't see the folders.

Yes I'm having that issue aswell. I created a remote in rclone but its not listing any of my folders from Disbox. I know the FTP implementation works because I successfully tried it with WinSCP.

tris203 commented 9 months ago

from what I checked, it doesn't work very well with Rclone yet and you can't see the folders.

Yes I'm having that issue aswell. I created a remote in rclone but its not listing any of my folders from Disbox. I know the FTP implementation works because I successfully tried it with WinSCP.

Is there any errors in the console of the FTP server? Or any specific messages from rclone?

jollran2005 commented 9 months ago

Is there any errors in the console of the FTP server? Or any specific messages from rclone?

No, when I mount the FTP remote with rclone using rclone mount <name of remote>: Z: it mounts normally but no folders or files are accessible inside the created drive. The same goes for when I try to list the files in rclone with rclone lsf <name of remote>: I don't receive any errors but no folders are listed.

I know rclone is connecting to my FTP server because when I run rclone mount disftp: Z: without starting the FTP server, I get: 2023/12/09 21:52:01 Failed to create file system for "disftp:": NewFs: failed to make FTP connection to "127.0.0.1:21": dial tcp 127.0.0.1:21: connectex: No connection could be made because the target machine actively refused it.

NOTE: This error only occurs when I try mounting without starting my server. When server is running I don't receive any errors, the contents just doesn't show up from my FTP server.

DisboxApp commented 6 months ago

Hey, this issue seems more fitting for disftp, correct? Maybe this should be first party, but either way, it's not part of the web UI so I'm closing this for now.