473,657 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Link inside the ZIP file ?

HI,

I need to link from within the HTML into a certain file which is WITHIN
a zip file (without unzipping the zip).
Is it doable ?

Dec 24 '06 #1
4 5843
MoshiachNow wrote:
I need to link from within the HTML into a certain file which is WITHIN
a zip file (without unzipping the zip).
No. Why do you think you need to do that?
Dec 24 '06 #2

Leif K-Brooks wrote:
MoshiachNow wrote:
I need to link from within the HTML into a certain file which is WITHIN
a zip file (without unzipping the zip).

No. Why do you think you need to do that?
Because I deliver to a support an HTML file with logs,which includes
links to logs that arrive in parallel in a zip file.

Ok,so now I have to think how to add to my HTML some VB or else script
that will unzip the zip file first.

Any ideas on how to do it ?
Thanks

Dec 24 '06 #3

MoshiachNow wrote:
I need to link from within the HTML into a certain file which is WITHIN
a zip file (without unzipping the zip).
Is it doable ?
Yes it's do-able, but it's far from trivial if you want to do it right.

I assume your problem is some massive archive of zip files, with a need
to address things within them. The neat way to do this is to design
yourself a mini-protocol based on the interpretation of HTTP URLs in a
defined manner (this could be as simple as two HTTP GET query
parameters called "wherethearchiv eis" and "wherethefileis insideit", or
as complex as a local "handle" server (look it up)). Then you write
some nice, neat server-side code that understands this protocol and can
return the files requested. With this new and more powerful (but still
completely generic) toolbox, you can write an application that
understands about a "log" file, structure of date-embedded names etc.
Choosing the right server-side language will make this easy (Java and
Python both have good Zip libraries, I don't know about PHP)

This is NOT just a "HTML programming" problem. If you treat it as one,
you'll find yourself building some vast pile of crappy JavaScript and
getting yourself posted to http://thedailywtf.com

Dec 27 '06 #4
"MoshiachNo w" <le**********@k odak.comwrote in message
news:11******** **************@ i12g2000cwa.goo glegroups.com.. .
HI,

I need to link from within the HTML into a certain file which is WITHIN
a zip file (without unzipping the zip).
Is it doable ?

Yes, it's very doable.

Check out the WinZip Command-Line Add-In at www.WinZip.com.

--
We're losing America. To see how you can help
get her back, visit www.FreedomToFascism.com.
Dec 27 '06 #5

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

Similar topics

4
8912
by: dspohn | last post by:
I am designing a document management system (DMS). The files are stored in a directory on the webserver. The filenames for the documents are stored in a MySQL database. The DMS will track revisions from the initial version through the updates. We must have strict permissions set so only authorized personnel can access some documents. All of the documents when uploaded are given totally random names such as "114723fb5422c6bd5ed18f6.doc"....
4
2056
by: HKannen | last post by:
Hi everybody, I'd like to create a link to a file instead of copying the file to the new destination. Is there a possibility to do this ? Is there something like a Link Object in C# .NET ? I'll be very greatful for an answer asap :-) Thanks
1
1547
by: Jeremy | last post by:
Rather than hard-coding a reference to a css file in the HEAD of an aspx page, like this... <link rel="stylesheet" href="../css/admin.css" type="text/css"> How can I dynamically specify the particular css file to which the aspx page is to link at runtime? Thanks.
1
4237
by: Ed Chiu | last post by:
Hi, I like to create a datagrid that has a column of links and one of these links is clicked, a new browser window pop up and shows the aspx specified in the link. How do I do that? Thanks in Advance
1
1562
by: aminpashas | last post by:
Hey All; I needed to know how could I make an indirect link to cd-rom in my XML file? I need to write something that orders the computer to check the cd-rom drive letter and automatically link me there (because the XML file is gonna be imported in a program and in each computer the cd-rom letter is different) thanks folks.
2
4540
by: BASSPU03 | last post by:
I used the Common Dialog API to store file paths on my form's underlying table. These paths are displayed in a textbox that I can click to open the selected file. Having stored the file paths in a textbox on my form, I then changed VB code in a linked module from lpstrFile to lpstrFileTitle (in Line 50 below) to get the file's title instead of the full path. Now, I'd like the file title to keep showing up in the textbox, but I obviously...
1
1472
by: amulyab | last post by:
Hi, M using browse button to select a text file.The contents of text is made to display inside text area.Now i have to add some links for the some parts of text which is inside text area.How can i do this?Please help me.Is there any way to do in ajax or javascript.
0
1301
by: shaheda begum | last post by:
Hi everyone, Can anyone guide me how to link archive file(libxyssl.a) to my shell script( .sh file) in Perl using swig interface. Thank you in advance.
2
2482
by: ismailc | last post by:
Good day, I desperately need to get the following working. I have an application that uses vbscripting as it's code developing, The two problems I have is: 1. Creating a link to open the attached file lies on the server in it's original state. fileString = "<a href='upload/test.doc' target=''> View File </a>" The problem is this open's the doc in a web page and not in Microsoft Word. I need it to open the files in its...
0
8407
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8319
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8837
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.