Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: 3ll10t on November 29, 2017, 12:28:53 PM

Title: Upload documents to i-bay via HTTPS
Post by: 3ll10t on November 29, 2017, 12:28:53 PM
Hi all,

I've created an i-bay to be accessed over the web via HTTPS. Uploading documents to the share from windows explorer works fine but is there a way of doing it on the webpage itself?
Title: Re: Upload documents to i-bay via HTTPS
Post by: mmccarn on November 29, 2017, 01:25:08 PM
There are severall contribs that I think can be configured to allow https uploads to an ibay:

"Webshare"
https://wiki.contribs.org/Webshare

"OpenUpload"
https://wiki.contribs.org/OpenUpload

"SharedFolders"
https://wiki.contribs.org/SharedFolders

"Pydio"
https://wiki.contribs.org/Pydio

There are probably simpler PHP apps for simple file uploads, and many standard "web apps" - such as wordpress or drupal - also allow uploads.

Ultimately, I setup Owncloud/Nextcloud on a separate Ubuntu box as a general purpose Dropbox/Google Drive replacement - which lets me mount SME server folders as "external data" shares using either SMB or SFTP.

If you want to allow remote developers to sync website content with an i-bay, you might want to look at UserManager (https://wiki.contribs.org/UserManager), Remoteuseraccess (https://wiki.contribs.org/Remoteuseraccess), per-user ssh keys, and creative user & ibay permissions, or give them VPN access and configure FTP to work for them over the VPN.

If you aren't supporting anyone else -- that is, if you're maintaining the server yourself, you can get to your ibays as 'root' using any SFTP (https://wiki.contribs.org/SFTP) client.
Title: Re: Upload documents to i-bay via HTTPS
Post by: Jean-Philippe Pialasse on November 29, 2017, 02:37:36 PM
There are severall contribs that I think can be configured to allow https uploads to an ibay:

"Webshare"
https://wiki.contribs.org/Webshare

will allow to upload on a special space only

"OpenUpload"
https://wiki.contribs.org/OpenUpload

will also only create dowload tickets on a special space

"SharedFolders"
https://wiki.contribs.org/SharedFolders

will not allow upload via a a webform to an ibay, but rather create something similar to ibays called shares

"Pydio"


https://wiki.contribs.org/Pydio
 will allow to upload to shares and do much more, but not to ibays


I would rather suggest :
https://wiki.contribs.org/PhpWebFtp
Title: Re: Upload documents to i-bay via HTTPS
Post by: 3ll10t on January 24, 2018, 11:55:12 AM
will not allow upload via a a webform to an ibay, but rather create something similar to ibays called shares

Is there a way to upload to shares via https using this contrib?
Title: Re: Upload documents to i-bay via HTTPS
Post by: Jean-Philippe Pialasse on January 24, 2018, 08:08:21 PM
Is there a way to upload to shares via https using this contrib?

all of the solution I presented allow this. You just need to get your certificate for the right domain. smeserver-letsencrypt could help for this.
optionally you need to make sure that the http redirect to https or refuses connections to avoid errors.