Page 1 of 1

Share function

Posted: 03 Jul 2012, 03:19
by dreni
I would love to have a share a file/folder function. Like the dropbox "public link" function.
Would this be hard to implement?

Best regards
dreni

Re: Share function

Posted: 03 Jul 2012, 06:16
by Gordon
Not really. As far as complexity goes it's mostly about being able to safely modify the smb.conf file (or a dedicated include file for additional shares).

Whether it will be useful is a bit of a question since the storage area on the B3 is already shared as a whole ('Home') and new shares would be subfolders of that main share (just like 'Storage' is). Of course this can be fixed easily by dropping the 'Home' share (or better: make it available to the superuser only).

Now here's a little trick that I actually didn't know of until recently: Samba has implemented Windows registry that you can connect to remotely (using regedit on a Windows operated machine) and you can use this to define shares. There's some nice reading on this subject on Linux Magazine

Re: Share function

Posted: 05 Jul 2012, 10:12
by johannes
@dreni, maybe I'm wrong but are you referring to sharing files over http, i.e. creating a custom link for a folder or a file, to which everyone can access? This is already there, in some form at least:

- place your files/folder in /home/web
- the link to the files will be yourname.myownb3.com/myfolder/

is this what you ment?

Re: Share function

Posted: 05 Jul 2012, 13:52
by DanielM
johannes wrote:@dreni, maybe I'm wrong but are you referring to sharing files over http, i.e. creating a custom link for a folder or a file, to which everyone can access? This is already there, in some form at least:

- place your files/folder in /home/web
- the link to the files will be yourname.myownb3.com/myfolder/

is this what you ment?
I think what he meant (and what could sometimes come in handy) is a more automated version of what you're describing above. Ie click somewhere, upload the file, automatically get some random url (something that is hard to guess) for it, and then the file is automatically deleted after a chosen time interval.

Just off the top of my head :-)

/Daniel