Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I would like to get the Doc file's path which resides in a zip file

with out using the following code.when it using it shows Access to the path 'C:\Inetpub\wwwroot\----' is denied.I gave all permission to this folder but it's showing the same error
C#
using (FileStream streamWriter = File.Create(Path))
{
streamWriter.Close();


I need only get the filepath which includes the filename
Pls help

Thanks & regards,
soumya
Posted
Updated 1-Feb-12 20:01pm
v3
Comments
[no name] 1-Feb-12 22:58pm    
can u unzip that file.?
Anuja Pawar Indore 2-Feb-12 2:02am    
Formatted the question

Try This
Uploading Zip File


Check Unzip Method in this Article.
May be This Will help You!
Thank You
@ChetanV@
 
Share this answer
 
v4
Comments
Sergey Alexandrovich Kryukov 1-Feb-12 23:16pm    
This is the link to deleted post.
--SA
[no name] 2-Feb-12 0:26am    
Check Now I Change the link!
Hi,

You have several ways to read zip file. It depends what ZIP library you use. Check out this link[^].
 
Share this answer
 
System.IO.Packaging may helps you,

see the below link
http://msdn.microsoft.com/en-us/library/system.io.packaging.aspx[^]

Thanks
--RA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900