Dynamically making zip files?
-
Is there a way (or even better an article) to dynamically make zip files in ASP? What I need to do is return a zip file containing a couple of files when the user clicks on a link. Which zip files depend on which links the user clicks on. So for example: Link A returns rar.txt, genericfile.txt. Link B returns omg.txt, genericfile.txt. Link C returns lol.txt, genericfile.txt. Link D returns wassup.sys, genericDLL.dll, readme.txt. So as you can see in my example, Links A-C return a generic file and file specific to the link, while Link D returns a generic dll a readme file and a link specific file. Now all the files are listed in a database, and I already know how to get the filepath from the database. So all I really need is asp code that will make a zip file from passed in parameters. - Munty -- modified at 6:13 Friday 9th March, 2007
-
Is there a way (or even better an article) to dynamically make zip files in ASP? What I need to do is return a zip file containing a couple of files when the user clicks on a link. Which zip files depend on which links the user clicks on. So for example: Link A returns rar.txt, genericfile.txt. Link B returns omg.txt, genericfile.txt. Link C returns lol.txt, genericfile.txt. Link D returns wassup.sys, genericDLL.dll, readme.txt. So as you can see in my example, Links A-C return a generic file and file specific to the link, while Link D returns a generic dll a readme file and a link specific file. Now all the files are listed in a database, and I already know how to get the filepath from the database. So all I really need is asp code that will make a zip file from passed in parameters. - Munty -- modified at 6:13 Friday 9th March, 2007
What you want to do ? Add this file to zip or Unzip the files if the option is second then only you have to give address of zip file in the link rest of browser will take care for that
Thanks and Regards Sandeep If you want something you never had, do something you have never done!
-
Is there a way (or even better an article) to dynamically make zip files in ASP? What I need to do is return a zip file containing a couple of files when the user clicks on a link. Which zip files depend on which links the user clicks on. So for example: Link A returns rar.txt, genericfile.txt. Link B returns omg.txt, genericfile.txt. Link C returns lol.txt, genericfile.txt. Link D returns wassup.sys, genericDLL.dll, readme.txt. So as you can see in my example, Links A-C return a generic file and file specific to the link, while Link D returns a generic dll a readme file and a link specific file. Now all the files are listed in a database, and I already know how to get the filepath from the database. So all I really need is asp code that will make a zip file from passed in parameters. - Munty -- modified at 6:13 Friday 9th March, 2007
-
Is there a way (or even better an article) to dynamically make zip files in ASP? What I need to do is return a zip file containing a couple of files when the user clicks on a link. Which zip files depend on which links the user clicks on. So for example: Link A returns rar.txt, genericfile.txt. Link B returns omg.txt, genericfile.txt. Link C returns lol.txt, genericfile.txt. Link D returns wassup.sys, genericDLL.dll, readme.txt. So as you can see in my example, Links A-C return a generic file and file specific to the link, while Link D returns a generic dll a readme file and a link specific file. Now all the files are listed in a database, and I already know how to get the filepath from the database. So all I really need is asp code that will make a zip file from passed in parameters. - Munty -- modified at 6:13 Friday 9th March, 2007
Take a look might be helpfull http://www.aspheute.com/english/20011115.asp[^]
Thanks and Regards Sandeep If you want something you never had, do something you have never done!