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

Multiple download disable zipdl #2106

Closed
incoming-th opened this issue Jul 19, 2017 · 2 comments
Closed

Multiple download disable zipdl #2106

incoming-th opened this issue Jul 19, 2017 · 2 comments
Assignees
Labels

Comments

@incoming-th
Copy link

Hi,

When user select multiple files, is it possible to download them 1 by 1 instead of a zip files?

https://github.com/Studio-42/elFinder/wiki/Client-Server-API-2.1#zipdl-api--21012

Thank you

@nao-pon
Copy link
Member

nao-pon commented Jul 20, 2017

@MickaelTH There is an option disabled of connector roots option. If you want to disable zipdl command, Please set 'disabled' => array('zipdl').

However, since I think that you may want to disable only downloading files while keeping directory zipdl enabled, I plan to add client option commandOptions.download.minFilesZipdl.

commandOptions : {
		download : {
			// max request to download files when zipdl disabled
			maxRequests : 10,
			// minimum count of files to use zipdl
			minFilesZipdl : 2
		}
}

@nao-pon nao-pon self-assigned this Jul 20, 2017
@incoming-th
Copy link
Author

Thank you for your answer and your enhancement. You are correct, folder download is nice feature that I want to keep.

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

2 participants