I need to unzip a (.zip) file from within a perl script. Is the UNZIP binary or somthing similar installed on discountasp?? How would I go about using it?
To preserve server performance, file compression util is not available. quote:Originally posted by homeacademy I need to unzip a (.zip) file from within a perl script. Is the UNZIP binary or somthing similar installed on discountasp?? How would I go about using it? </blockquote id="quote"></font id="quote">
Perhaps there is another way. A little background and my goal: I activated raw log access, in order to run an advanced web stat package, written in Perl. The way it works: I click 'update' in the statistics program and it reads my log, updates it's internal database and gives me a detailed statistic report. Currently, I have to go to ftp, download the logfile, unzip it, upload it back, and hit update in my stats program. I would like to somehow do the unzipping automatically. Then, I can schedule updating of the stats package rather than do it manually for every new logfile (each day). Is there some way I can achieve this automatic unzipping? Thanks in advance.
I am kinda lost. YOu are saying that you stats package actually live off our web server? How do you schedule it to run? quote:Originally posted by homeacademy Perhaps there is another way. A little background and my goal: I activated raw log access, in order to run an advanced web stat package, written in Perl. The way it works: I click 'update' in the statistics program and it reads my log, updates it's internal database and gives me a detailed statistic report. Currently, I have to go to ftp, download the logfile, unzip it, upload it back, and hit update in my stats program. I would like to somehow do the unzipping automatically. Then, I can schedule updating of the stats package rather than do it manually for every new logfile (each day). Is there some way I can achieve this automatic unzipping? Thanks in advance. </blockquote id="quote"></font id="quote">
Yes, the stats program runs off the web server. At the moment it is not scheduled. Eventually, I will schedule it off my local computer (the update function only needs to be run once a day). Anyway, I think I confused things by talking about the stats stuff at all. My question: Is there any way to UNZIP a .zip file (which is on the server) into a directory (also on the server) through a PERL script?</font id="green"> Your earlier post appeared to indicate this is not possible with your setup, but since I don't know Perl well and am unsure what is possible, I wanted to clarify. Thanks alot for your time and assistance.
No. Zip is not available on our server due to performance reasons. quote:Originally posted by homeacademy Yes, the stats program runs off the web server. At the moment it is not scheduled. Eventually, I will schedule it off my local computer (the update function only needs to be run once a day). Anyway, I think I confused things by talking about the stats stuff at all. My question: Is there any way to UNZIP a .zip file (which is on the server) into a directory (also on the server) through a PERL script?</font id="green"> Your earlier post appeared to indicate this is not possible with your setup, but since I don't know Perl well and am unsure what is possible, I wanted to clarify. Thanks alot for your time and assistance. </blockquote id="quote"></font id="quote">
Okay. I understand. Let me cut to the chase: Is is possible to use AWStats with discountasp? I can schedule updating using my local Windows scheduler. I just don't know what to do with the zipped logs. I have everything else working. Can I get my logs before they are zipped up? Any help is greatly appreciated.
You cannot access the logs before they are zipped. The best thing to do is to download your zipped logs onto your own machine and run a stats program on your own machine. This way there is no degradation of website performance on the web server. DiscountASP.NET
hi, i'm trying to run awstat on my account, but i have no idea how to do it, i don't care for the unzipping part i just want to be able to have awstats. could you please give me so help. thanks alot.
Are you having a problem? AWStats will work fine on DASP as long as you give it unzipped log files to read. Follow the setup instructions and post if you have errors. I'd be glad to help. Also, you should create a NEW topic with your problems, as this one is old and on a different subject.