Want to unzip a partial zipped text CSV file

J

johnnyh

I am currently using ASP.Net / C# to partially upload the first
100K of a CSV file to programattically extract the header information
for field mapping against our database and for a test sample of records

to check some validation before entire file is uploaded. (Files can be
HUGE)


Question - what about when the file is Zipped? Can I still upload the
first 100K of the file and somehow unzip that portion of the file? Or
do I need the entire file to unzip even a portion of it. I don't care
if there's a blown checksum type of thing.


Any guidance would be greatly appreciated


JohnnyH
 
J

John B

johnnyh said:
I am currently using ASP.Net / C# to partially upload the first
100K of a CSV file to programattically extract the header information
for field mapping against our database and for a test sample of records

to check some validation before entire file is uploaded. (Files can be
HUGE)


Question - what about when the file is Zipped? Can I still upload the
first 100K of the file and somehow unzip that portion of the file? Or
do I need the entire file to unzip even a portion of it. I don't care
if there's a blown checksum type of thing.


Any guidance would be greatly appreciated


JohnnyH
I would not think this would be possible as there are no guarantees
about what order the zipped file will be in.
I am by no means a zip expert though.

JB
:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top