Click here to get back home

Link inside the ZIP file ?

 HomeNewsGroups | Search

comp.infosystems.www.authoring.html - discuss HTML authoring here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Link inside the ZIP file ? MoshiachNow 12-24-2006
Posted by MoshiachNow on December 24, 2006, 4:07 am
Please log in for more thread options


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 ?


Posted by Leif K-Brooks on December 24, 2006, 6:14 am
Please log in for more thread options


MoshiachNow wrote:
show/hide quoted text

No. Why do you think you need to do that?

Posted by MoshiachNow on December 24, 2006, 7:19 am
Please log in for more thread options



Leif K-Brooks wrote:
show/hide quoted text

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


Posted by Andy Dingley on December 27, 2006, 5:28 am
Please log in for more thread options



MoshiachNow wrote:

show/hide quoted text

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 "wherethearchiveis" and "wherethefileisinsideit", 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


Posted by Jeff Bowman on December 27, 2006, 5:34 am
Please log in for more thread options


show/hide quoted text


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.



Similar ThreadsPosted
How can I over-ride external CSS inside HTML file? July 11, 2004, 5:55 pm
is it possible to submit to a specific function inside another file March 16, 2005, 4:17 am
css file won't link to xhtml April 20, 2005, 10:15 pm
Hyper link that opens the newest file in a dir? March 25, 2005, 1:43 pm
Forcing retrieval of a fresh copy of a file with a link May 30, 2008, 8:47 am
Target frame link anchor in new parent html file December 13, 2004, 3:47 am
Link to a frames based page links to wrong html file. June 14, 2006, 6:53 pm
multiple instances of a CSS link due to server-side file inclusion and tools requirements November 18, 2008, 12:03 am
in Firefox March 19, 2008, 9:57 pm
File Uploads using October 13, 2004, 9:19 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy