Set up an api to download multiple files
This will give you the multiple document download functionality - in a cross browser compatible way. In http, one request can only have one response.
Also did you try your own solution with Firefox? MdAslam Yeah I think Mehdi is right. You can just use loop in frontend to download multiple files. Can you please share your frontend code? May be i can help there? Show 2 more comments. AddDirectory Server. Manish Kumawat Manish Kumawat 1, 2 2 gold badges 12 12 silver badges 21 21 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Podcast Who is building clouds for the independent developer? Exploding turkeys and how not to thaw your frozen bird: Top turkey questions Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Linked Postman is a collaboration platform for API development. Stay up-to-date on the health of your API by checking performance and response times at scheduled intervals. Learn more about Postman.
Learn more about Cloud Elements. Empower developer communities to monetize data and digital assets in new channels, devices, and UIs. Encourage more productive collaboration through the entire business ecosystem.
Managing and monitoring APIs across various data platforms with real-time analytics, the API Management capability promotes co-innovation among employees, partners, and the developer community.
Workato is a single platform used to integrate apps and automate workflows without compromising security and governance.
Rapidly accelerate growth by being automation-first across your organization. It enables companies to drive real time outcomes from business events. There is no coding required, and the platform utilizes Machine Learning and patented technology to make the creation and implementation of automations 10X faster than traditional platforms. Learn more about Workato.
Computers make a lot of things easier, especially tasks that involve collecting and sorting through tons of data. This would take much less time and be much more accurate.
Someone will build the server first, since it acquires and holds data. Once that server is running, programmers publish documentation, including the endpoints where specific data can be found. This documentation tells outside programmers the structure of the data on the server. An outside user can then query or search the data on the server, or build a program that runs searches on the database and transforms that information into a different, usable format.
This was a limited amount of information, and it took a long time to access. Now, through the magic of technology, all of that information can be found in a database. An API call is a request that the client computer sends to the server. These endpoints tell you the language you must use to request information from the database in your API call. Should you want a list of all of the folks in Happyville with the last name Smith, you could do one of two things:. The second option requires more coding fluency, but is great for programmers who want to use the database of another program to enhance their own apps.
Many companies use the open APIs from larger companies like Google and Facebook to access data that might not otherwise be available. APIs, in this case, significantly lower the barriers to entry for smaller companies that would otherwise have to compile their own data.
An API is how two computers talk to each other. The server has the data and sets the language, while the client uses that language to ask for information from the server FYI, servers do not send data without a client requesting data, but developers have found some ways around this with webhooks. APIs can do anything! But then I still have the same problem albeit in a different place of passing all the related information e. Also, I don't really see why it's any easier to unpack a ZIP than it is to unpack a concatenated stream of files?
It does not just compress, it also acts as a streamable container format for multiple files. You can have a "file" with related information as your first file and use the IDs of the actual files as file names.
If you use ZIP's Store compression mode, it will effectively be the name,length,bytes scheme you described in the question. I agree - it's probably not very RESTful to bundle things up like this, but actually I'm also writing the only application that will use this web service, so I think that's OK. Good point about the time-out value, although since I'm also writing the client, I can also deal with that.
I'll probably only ever request a dozen or so at a time. I do think that the extra traffic required to send images is too much to bear, and so fetching them individually doesn't sound right to me. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
The Overflow Blog. Podcast Who is building clouds for the independent developer? Exploding turkeys and how not to thaw your frozen bird: Top turkey questions Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Linked 1. Related Hot Network Questions. Question feed.
0コメント