freeflowuniverse / aydo

Fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob
GNU Affero General Public License v3.0
0 stars 0 forks source link

see if we can integrate sftpgo in web3 proxy #5

Closed despiegk closed 1 year ago

despiegk commented 1 year ago

see if we can compile and load it in web3 proxy

maybe an option defines if we load it or not and what the admin username is

alichaddad commented 1 year ago

Can we have more elaboration on the requirements?

cc @xmonader

xmonader commented 1 year ago

I believe @despiegk meant to be able to launch server as a subcommand of the proxy or the functionality to be exposed as a module on the proxy

despiegk commented 1 year ago

the code needs to be in the golang binary, so we only have one

alichaddad commented 1 year ago

There is no way to integrate the server into web3 due to the fact that the server logic in sftpgo not being exposed. The alternative is to integrate the code ourselves but this will mean extra overhead for development and maintenance in the future in case we want to have the latest upstream updates

alichaddad commented 1 year ago

Integration mostly done, just needs to consider how to deliver the necessary static failed needed by sftpgo to the web proxy deployment

despiegk commented 1 year ago

please define what we will have now?

alichaddad commented 1 year ago

Sftpgo can be run using web3 proxy by following this doc: https://github.com/threefoldtech/web3_proxy/blob/development_sftpgo/manual/src/server/sftpgo.md

mohamedamer453 commented 1 year ago

Verified.

I was able to follow the docs and run sftp go through the webproxy using both methods mentioned in https://github.com/threefoldtech/web3_proxy/blob/development/manual/src/server/sftpgo.md

and it works fine with both methods and all the defined functionalities are working without any issues.

image