473,406 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to decompress and display packed (zip) text file within ASP ?

Hello,
I know that I can process txt files using ASP scrips.
But there is a compressed text file (with Winzip) that I want to list on my
web page. Is there possibility to decompress it on server and process there
useing my ASP script ?
I should say that it is not my server, I am just using hosting provider so I
can't execute programs on the server directly.

Best greetings,
R.A.



Nov 17 '05 #1
4 1382
Hi Umberto,

There's a managed ZIP library and it was free this summer (not sure about
now):

http://www.icsharpcode.net/OpenSource/SharpZipLib/

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"umberto" <um*****@poczta.onet.pl> wrote in message
news:bn**********@news.onet.pl...
Hello,
I know that I can process txt files using ASP scrips.
But there is a compressed text file (with Winzip) that I want to list on my web page. Is there possibility to decompress it on server and process there useing my ASP script ?
I should say that it is not my server, I am just using hosting provider so I can't execute programs on the server directly.

Best greetings,
R.A.



Nov 17 '05 #2
> There's a managed ZIP library and it was free this summer (not sure about
now):
http://www.icsharpcode.net/OpenSource/SharpZipLib/

Thanks Dmitriy !
I am just looking at it. There is dll file and a 'bat' file to instal it.
The instal script uses 'gacutil' - I am not sure what it is (I am beginner),
but hope to find out.
Anyway I don't know if my ASP hosting provider (where I put my ASP scripts -
I have no my own server) will let me run this install procedure.

Best greetings,



Nov 17 '05 #3
Hi,

Don't be scary of the installation - it just puts the library to the Global
Assembly Cache to make it available to any .NET program on the computer. But
this is not necessary - you can just put the ZIP library to the website's
bin directory - at least it worked fine for a Windows Forms application I
took part in.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"umberto" <um*****@poczta.onet.pl> wrote in message
news:bn**********@news.onet.pl...
There's a managed ZIP library and it was free this summer (not sure about now):
http://www.icsharpcode.net/OpenSource/SharpZipLib/

Thanks Dmitriy !
I am just looking at it. There is dll file and a 'bat' file to instal it.
The instal script uses 'gacutil' - I am not sure what it is (I am

beginner), but hope to find out.
Anyway I don't know if my ASP hosting provider (where I put my ASP scripts - I have no my own server) will let me run this install procedure.

Best greetings,



Nov 17 '05 #4
> Don't be scary of the installation - it just puts the library to the
Global
Assembly Cache to make it available to any .NET program on the computer. But this is not necessary - you can just put the ZIP library to the website's
bin directory - at least it worked fine for a Windows Forms application I
took part in.


Thanks once more. Your info makes me happy :-)
I will try to do my plans.

Greetings,


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alan G Isaac | last post by:
I have an .zip archive of compressed files that I want to decompress. Using the zipfile module, I tried z=zipfile.ZipFile(local.zip) for zname in z.namelist(): localtxtfile='c:/puthere/'+zname...
19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
56
by: ccwork | last post by:
Hi all, Here is a sample code segment: .... typedef PACKED struct { union { PACKED struct { char red:1;
3
by: Brian Henry | last post by:
Does anyone know of or know how to convert a COBOL packed decimal in a text file to a decimal that .NET can work with? we are importing Old COBOL data files that have packed data in them and need...
5
by: Waguy | last post by:
Hi all, I am new to python and want to create a process to unzip large numbers of zip files I get from a SOAP application. The files all have a ZIP extention and can be unzipped using WinZip. ...
0
by: JBear | last post by:
Can anyone tell me how to decompress a zip file containing multiple files (but no folder) using a class in the System.IO.Compression namespace? I'm trying to decompress a Google Earth KMZ file,...
4
by: Frederik Vanderhaegen | last post by:
Hi, I'm writing an application who 'sniffs' port 80. The sniffing works 'perfect', I receive a byte array with the data sent over the port. My problem is the following, when I write the array...
0
by: minhchieu | last post by:
Hi all, I'm a new with SharpZipLib. I want to zip a folder which has some files and subfolders, and unzip it to a new folder with the same structure. Now i can zip the folder. This is my code. //...
0
tuxalot
by: tuxalot | last post by:
I have a text file showing files in directories. The text file looks like this: "C:\folderA\file1.zip" "C:\folderA\folderB\folderC\file2.zip" "C:\folderA\folderE\folderX\folderU\file3.zip" ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.