11,096 questions
Score of 0
0 answers
51 views
Import compressed TongLian data files directly or need to decompress first?
I'm working with compressed data files from TongLian (通联数据), delivered as .zip archives. I'm wondering if DolphinDB can load the data directly from the .zip file, or if I need to decompress before ...
Best practices
0
votes
1
replies
168
views
Best approach for handling large file uploads and ZIP generation in Laravel?
I’m building a Laravel 12 folder organizer where users may upload large folders (many files / large sizes), and I categorize files by extension and generate a ZIP for download.
Current approach:
...
Score of 3
3 answers
160 views
PowerShell : how to zip directory based on file name
I have this functioning code that looks in a directory, and zips up all .PDF files it finds into a ZIP archive, and then deletes the original .PDF files:
# Get all files in the directory (non-...
Score of 4
2 answers
332 views
Powershell can't delete file it opened
I wrote this code below. and it is throwing the error
Cannot remove item BLAHBLAH: The process cannot access the file 'BLAHBLAH' because it is being used by another process.
As SOON as the overall ...
Score of 0
1 answer
136 views
PowerShell conditional execution
I wrote this (ignore the 'LOCATION!!!' )
$zipInputFolder = LOCATION!!!
$zipOutputFolder = LOCATION!!!
$archivePath = LOCATION!!!
$zipFiles = Get-ChildItem $zipInputFolder -Filter *.zip
foreach ($...
Advice
0
votes
7
replies
144
views
With Excel VBA, creating a ZIP folder with all files in a specific folder
I have a macro that creates an upload file (csv) in a specific folder.
The next step is to create a zip file that includes the csv file and some other attachments referenced in the csv file.
I've ...
Advice
0
votes
1
replies
85
views
Speeding up unzipping of file in Google Cloud Storage (GCS)
I receive ZIP files everyday to a bucket. Part of my Python pipeline is to extract these out into the individual CSVs. However, wondering if there's a quicker way?
There's roughly 20 files in each ZIP,...
Score of 5
1 answer
221 views
`Compress-Archive` with the `-Update` parameter erases the archive when given an empty list
I need to create a ZIP archive from a directory (data) with the following properties:
A specific file (.foo) needs to be the first item in the archive, uncompressed
The remaining files, if any, need ...
Score of 2
1 answer
74 views
Node.js back-pressure documentation - what's the relevance of their example?
The Node.js Backpressure in Streams documentation begins with an example that compares the use of the zip(1) utility with a Node.js script that uses a simple stream to achieve the same result.
A good ...
Score of 1
0 answers
75 views
Generating a virtual image for an Electron application
I’m trying to replace a the content of an image URL with the result of a custom protocol. The idea is to get the data from a zip file.
The img element looks something like this:
<img src="...
Score of 2
1 answer
101 views
Can initial similarity between 2 files create similarity in the start of their Deflate compressed output?
Assuming we have 2 files:
FILE 1
Uncompressed size: 793765 bytes
Compressed size: 604911 bytes
Data type: 99% Base64
Compression method : deflate dynamic
FILE 2
Uncompressed size: 793765 ...
Score of 15
7 answers
1727 views
Exchange a file in a ZIP file quickly
In a Java program, I need to exchange files in a large ZIP file quickly.
So if a.txt is a file inside b.zip I want to replace the a.txt with a new version of a.txt inside b.zip. It should happen in a ...
Score of 0
0 answers
58 views
Why mime_type starts with application file download automatically when I clicked
<ui5-list
growing="Scroll"
class="h-full list-border-bottom"
mode="Single"
(ui5ItemClick)="selectFile($event)">
<ui5-upload-...
Score of 0
1 answer
155 views
java.io.IOException: request to write bytes exceeds size in header of bytes for entry make more robust
I'm trying to convert a zip into a TAR. For this I'm using a visitor, but sometimes when I'm doing the conversion I have a:
Caused by: platform.kernel.io.compresser.CompresserException:
at ...
Score of 2
3 answers
217 views
How can I read multiple csv files from within multiple zip files with sometimes different columns using R fread?
I'm trying to read in a lot of data as efficiently as possible; the data are in about 1,400 CSV files within 6 individual ZIP files. The CSV files are all similar timeseries data with the same columns,...