If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Chit Chat > Is there a way to verify a zipped file?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-06, 20:50
JerryDal JerryDal is offline
Registered User
 
Join Date: Jan 2002
Location: Bay Area
Posts: 473
Is there a way to verify a zipped file?

Does anyone know how to procedurally verify that a file is available within a zipped file as well as check the date the file was zipped?

I am working on an Excel application with Visual Basic for Applications code that can sucessfully unzip a file I'll call "sales.txt" from the zipped file "salesdata.zip".

Within my VBA procedures, I need to verify that this monthly file, provided by another person on a shared drive and the zipped file is replaced each month, has a date that falls within the current month. I also need to know that sales.txt exists in the zipped file before I copy the zipped file to the harddisk and start unzipping it. I know how to work with dates in VBA, I just need to know how to get the date from a zipped file. The point of all this is to check whether or not the other person put the current month's zipped file on the shared drive, and if not, the program will be halted.

Thanks.
Jerry
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On