Skip to content
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

Group Roots #1622

Closed
BitStinker opened this issue Aug 25, 2016 · 11 comments
Closed

Group Roots #1622

BitStinker opened this issue Aug 25, 2016 · 11 comments
Assignees
Labels

Comments

@BitStinker
Copy link

BitStinker commented Aug 25, 2016

This may be useful for others also.

I have a system where users can access files and folders directly on a NAS. The web app can also access these via FTP. The web app also generates its own files in its own file system not on the NAS. So, I have the elFinder set to give access to both folders. I would like to "pretty" it up by grouping the folders.

Now:
FT1760-Proj (on the NAS via FTP)
FT1760-CuEx (on the local web app file system)

Want:
FT1760 (dummy grouping folder)
--Proj
--CuEx

Maybe make a special 'root' that is an array of roots with just an alias?

Here is a snip of what it looks like now

image

@nao-pon
Copy link
Member

nao-pon commented Aug 26, 2016

@BitStinker It good idea! 👍

@nao-pon nao-pon self-assigned this Aug 26, 2016
nao-pon added a commit that referenced this issue Aug 28, 2016
@nao-pon
Copy link
Member

nao-pon commented Aug 28, 2016

@BitStinker
Copy link
Author

BitStinker commented Aug 28, 2016

Very cool. I see version 2.1.14, but not 2.1.15 in the releases. Am I missing something?

image

@nao-pon
Copy link
Member

nao-pon commented Aug 28, 2016

@BitStinker 2.1.15 has not been released yet. Until the release You can try the nightly build.

@BitStinker
Copy link
Author

Perhaps I am not understanding properly. The hash value of the volume is required to fill in phash, but the volume has not yet been mounted when setting up the configuration. How does one assume a volume hash value when it is not yet defined?

@nao-pon
Copy link
Member

nao-pon commented Aug 29, 2016

@BitStinker Volume ID is determined in the following manner.

  • $volume->driverId + [Incremental numbers] + '_'
  • or
  • $volume->driverId + $volume->options['id'] + '_'

Thus, it is possible to control by the volume roots option id.

@BitStinker
Copy link
Author

Works like a charm!

For the uninitiated, the hash for the group volume appears to be

$volume->driverId + $volume->options['id'] + '_Lw'

where the ending "Lw" is the hash for "/".

image

nao-pon added a commit that referenced this issue Sep 3, 2016
ref. #1622, @c3f0beabd168bf1714ac683dfac9167e549b1172
@jaime070791
Copy link

jaime070791 commented Dec 2, 2016

@BitStinker @nao-pon
Hi good day!
I do not quite understand how they could connect to a NAS disk, could you give me an example?
I need to connect to a NAS disk that is in the path "smb://192.168.xxx.xx/folder" on Linux.
I would be very grateful.

@BitStinker
Copy link
Author

I FTP to the NAS using the elfinder FTP volume. I actually do it to two different NAS boxes. One onsite, the other offsite.

@jaime070791
Copy link

Hello @BitStinker
And you know how to connect to the NAS by SMB (Samba) and if possible ?.
A greeting.

@BitStinker
Copy link
Author

I don't know if it is possible without using FTP. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants