openresty / openresty/lua-resty-upload
How to download folder content from nginx server
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 414
- Forks
- 110
- Avg merge
- 2h 43m
- Merged PRs (30d)
- 1
Description
Hi, I have hosted an nginx server using resty docker base image. Have couple of endpoints expose
one to upload, download, list directory content. What ever files uploaded using upload link to directory need to be download all at once using download option.
With ngx.location.capture of the directory i get the list of files with in directory. How can I pass the file information and content over as http response?
Any help would really be appreciated. :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue mentions an nginx server using a Resty Docker base image and ngx.location.capture, but names no repository file or test. First clarify whether the desired response should bundle files or stream multiple file contents, then define the download endpoint's expected behavior and tests before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, lua, nginx
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100