By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,693 Members | 1,301 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,693 IT Pros & Developers. It's quick & easy.

Want to unzip a partial zipped text CSV file

P: n/a
I am currently using ASP.Net / VB.Net 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

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Why not prepare two files, both ZIPped. The first file would be the sample,
the second the real one. Send the first, and if everything is OK, then send
the second (or whatever).

This wouldn't be any more programming work, IMO, and would meet the
objectives without doing anything out of the ordinary.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.