DownloadMultipleFiles | Download multiple files from your Mendix application
kandi X-RAY | DownloadMultipleFiles Summary
kandi X-RAY | DownloadMultipleFiles Summary
Download multiple files from your Mendix application in one click.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of DownloadMultipleFiles
DownloadMultipleFiles Key Features
DownloadMultipleFiles Examples and Code Snippets
Community Discussions
Trending Discussions on DownloadMultipleFiles
QUESTION
I make a private class to get the bytes of the file and then return it into a zip file. Basically, I just want to pick specific files inside my folder and then zip it then download it. Here's my class:
...ANSWER
Answered 2021-Aug-16 at 19:17you are getting the directory root because when you use archive.CreateEntry
you are passing the file full path in parameter, you should be using only the file name
var entry = archive.CreateEntry(System.IO.Path.GetFileName(fPath), CompressionLevel.Fastest);
a second issue is that you actually saving the file path to your files not the content of the original file. you can update your DownloadMultipleFiles like this
QUESTION
I need to export multiple files with varying file types (pdf, xlsx, .docx) stored in a database (Byte Array) and save them as a single zipped file. How should I handle the multiple files? I'm assuming I would need to first store the files in a list and using MemoryStream? I'm using the ZipArchive class to export the files as a zip file. Assuming this approach will work, I'm unsure of how to pass the list as an argument to the ZipArchive (DownloadMultipleFiles) method.
...ANSWER
Answered 2020-Aug-08 at 23:05Its seems you were mostly there, in fact I think you needed to use List
because your byteArrayList
doesn't contain a definition for fileNameor
Length`.
QUESTION
After the great help I got here over the past days, I managed to finish my code for downloading xlsm files by selecting a range in excel and looping through the range. Now I used the IE method, which opens a new IE instance for every entry. How can I avoid that ? I have over 50 entries in my range.
Is there a way to not open IE but still scrape the online data I need for the objID ?
...ANSWER
Answered 2020-Feb-20 at 09:51Well, that can be if there is some javascript involved and that isn't ready yet, and needs some more time. A workaround for that can be to try
QUESTION
I am trying to write a VBA macro to download files from our companies server. In order to download the files, I look for their number of our my excel list. E.G. the number is "250". Then I need to search for "250" on the website and then get the objectID of the file. So the links of the download document looks like this :
...ANSWER
Answered 2020-Feb-18 at 07:04@Zwenn
the E2**** is the number out of excel, that i am searching for on the platform. The 4706 number form my original question, is the unique ID of every E2***number.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install DownloadMultipleFiles
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page