Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / July 2005

Tip: Looking for answers? Try searching our database.

ZipEntry class - date setting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sreelu - 28 Jul 2005 03:53 GMT
Hi

I'm using ZipEntry class in one of my asp.net applications(c# is code
behind). I'm able to successfully zip a file, but the date of the zipped file
is shown as 1/1/1980. I tried to  ZipEntry.setTime(long), but it is also of
no use. How to get orignal file date/tiime for the zipped file. Please let me
know.

Thanks.
Lars-Inge Tønnessen [VJ# MVP] - 31 Jul 2005 11:09 GMT
Hi,

> How to get orignal file date/tiime for the zipped file.

This is an old bug in the lib. I think it's fixed in the .NET 2.0 (Visual
Studio 2005) that will soon be released.

Here are a few alternatives:

http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
http://www.xceedsoft.com/products/ZipNet/

Regards,
Lars-Inge Tønnessen
Sreelu - 31 Jul 2005 16:01 GMT
Oops!

Thanks Lars.

> Hi,
>
[quoted text clipped - 10 lines]
> Regards,
> Lars-Inge Tønnessen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.