Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Online Leagues

Reply
 
LinkBack Thread Tools Display Modes
Old 06-27-2002, 04:07 PM   #21 (permalink)
All Star Starter
 
Kurtis R.'s Avatar
 
Join Date: Feb 2002
Location: Alberta, Canada
Posts: 1,105
Thanks: 0
Thanked 0x in 0 posts
This is a great feature!! I have DSL.. it used to take me about 1/2 an hour to upload the pages... now it takes about 2 minutes.

For those of you still having problems.. just do the next test:

Make a new folder called "New Folder"
Put a couple of useless files in there.. html or txt or whatever

-RIGHT click the New Folder
-ADD to New Folder.zip (win zip)
-once it is zipped, rename that zip file to "_yourleagueabbreviation.zip" [without quotations]
-Upload the new zip file to your root folder
-wait 15 minutes
-then refresh your FTP and you should see a folder called "New Folder" and inside that folder is the useless files you put in there.

Just thought I would show a different example for those guys that didn't quite understand yet.

Kurtis
CUBL Commish
__________________
CUBL Commissioner
Kurtis R. is offline   Reply With Quote
Old 06-27-2002, 07:38 PM   #22 (permalink)
Hall Of Famer
 
Cooleyvol's Avatar
 
Join Date: Dec 2001
Location: Woodland Mills, TN
Posts: 5,993
Thanks: 57
Thanked 506x in 304 posts
I just used this for the first time and let me tell you, THIS IS A TIME SAVER!!

Thanks, Andreas!!
__________________


Cooleyvol is offline   Reply With Quote
Old 06-28-2002, 02:36 AM   #23 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,720
Thanks: 200
Thanked 1,393x in 513 posts
Quote:
Originally posted by seadog852
2 questions for andreas
1. I read all the post and think I understand this new proggy. I'm going to explain it for my sake and you tell me if I'm right or wrong. Thanks
I have a zip file named _852bl.zip. In this zip is all the html file for the web and my zip called 852bl.zip(the owners dl this one).
I upload the _852Bl.zip and your program unzips it into the directory it is in. It will leave alone the 852bl.zip because it doesn't have the _ clarifier. And I'll be able to upload for 30+ min w/o worry of your program deleting the uploaded portion.
Tell me if I'm correct or wrong.
You're right: it will not unzip the included 852bl.zip. But not because it doesn't have that "_". Simply because it's included! It will not touch any files that are included. It will just unzip the _852bl.zip...
Quote:
2. Did you get my emails concerning the league forum you created. I went to change colors and it seemed to screw everything up. If you can fix it great or let me know how.
Yeah, I've got your mail. It's on my (long) list of things which are to be done before I'll go on vacation on Sunday Don't worry, I'll do it.
Andreas Raht is offline   Reply With Quote
Old 06-28-2002, 07:07 AM   #24 (permalink)
Minors (Double A)
 
Join Date: Apr 2002
Posts: 132
Thanks: 0
Thanked 0x in 0 posts
Thanks for the heads up on the forum and new program. It is greatly appreciated!!!
seadog852 is offline   Reply With Quote
Old 06-28-2002, 10:39 AM   #25 (permalink)
Minors (Single A)
 
Join Date: Dec 2001
Posts: 96
Thanks: 0
Thanked 0x in 0 posts
Anyway to get the script fo rpeople who run their own leagues on their own servers, but want the same time saving option?

just curious
__________________
--
The Virtual Springfield Baseball League - <a href="http://www.vsbl.net" target="_blank">http://www.vsbl.net</a>
hack is offline   Reply With Quote
Old 06-28-2002, 11:24 AM   #26 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,720
Thanks: 200
Thanked 1,393x in 513 posts
Just a matter of $$$
j/k. Of course you can get the script:

#!/usr/bin/perl

use strict;
use CGI::Carp qw(fatalsToBrowser);

my $Verzeichnis = "/homepages/whatever/yourdir/";
my $zipfile = $Verzeichnis . "_xyz.zip";

if (-e $zipfile) {
$r = system("unzip -o -q -C $zipfile -d $Verzeichnis");
if ($r==0) {
print "Success!\n";
unlink($zipfile);
}
else {
print "Error " . $r . "\n";
}
}

Should work this way... I didn't test this version. The version on our server looks quite different because we have to scan the folders etc. Of course you'll use this on your own risk and we are liable for nothing. Perl must be available on your web server.
- Change the _xyz.zip to any filename which you want to unzip.
- Copy the file as unzipfiles.cgi on your server.
- Give it execution permission (755)
- Start it using your browser, just enter the complete URL with the trailing unzipfiles.cgi as address
Enjoy!
Andreas Raht is offline   Reply With Quote
Old 06-29-2002, 01:56 PM   #27 (permalink)
All Star Starter
 
blmeanie's Avatar
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,039
Thanks: 0
Thanked 0x in 0 posts
Thanks for the continual improvements enhancements!
__________________
blmeanie

Green Monsta League

email me at blmeanie

Above link works for some email client programs but not all, email me at blmeanie33@earthlink.net
blmeanie is offline   Reply With Quote
Old 06-30-2002, 09:17 PM   #28 (permalink)
All Star Starter
 
blmeanie's Avatar
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,039
Thanks: 0
Thanked 0x in 0 posts
bump
__________________
blmeanie

Green Monsta League

email me at blmeanie

Above link works for some email client programs but not all, email me at blmeanie33@earthlink.net
blmeanie is offline   Reply With Quote
Old 06-30-2002, 09:33 PM   #29 (permalink)
All Star Starter
 
blmeanie's Avatar
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,039
Thanks: 0
Thanked 0x in 0 posts
just got it working on first try thanks to the help from all the posts and questions by all of you guys!

All totalled it took less than 5 minutes (I hit the unzipping process at the right time)
__________________
blmeanie

Green Monsta League

email me at blmeanie

Above link works for some email client programs but not all, email me at blmeanie33@earthlink.net
blmeanie is offline   Reply With Quote
Old 07-02-2002, 09:50 AM   #30 (permalink)
Minors (Single A)
 
Join Date: Dec 2001
Posts: 96
Thanks: 0
Thanked 0x in 0 posts
Thumbs up

Thanks for that.
__________________
--
The Virtual Springfield Baseball League - <a href="http://www.vsbl.net" target="_blank">http://www.vsbl.net</a>
hack is offline   Reply With Quote
Old 07-10-2002, 04:37 PM   #31 (permalink)
Hall Of Famer
 
Draft Dodger's Avatar
 
Join Date: Dec 2001
Location: formerly of the OTBL
Posts: 4,114
Thanks: 0
Thanked 0x in 0 posts
bump
__________________
Draft Dodger (Anarchy: Anything goes. The Draft Dodger viewpoint.)
Sophmoric[sic] Member of the OOTP Boards
(It's not OOTP; it's your computer)

15 GB Webhosting for $6.95 a month

IMO we are best off abandoning that sinking ship that is Off Topic to the rats infesting it and just starting a whole new Baseball Forum from scratch.
Draft Dodger is offline   Reply With Quote
Old 07-13-2002, 09:56 AM   #32 (permalink)
Minors (Double A)
 
Killer_Bs's Avatar
 
Join Date: Mar 2002
Location: Limestone, TN
Posts: 127
Thanks: 0
Thanked 0x in 0 posts
Thumbs up

I just tried this and it works great!

Huge time saver! Thanks!

One thing to note, it is case sensative so _USBA.zip didn't work, but _usba.zip did work.
__________________
<a href="http://usba.ootp-leagues.com" target="_blank">Commissioner of the USBA</a>

<a href="http://usba.ootp-leagues.com" target="_blank">USBA</a> - Las Vegas Scorpions
<a href="http://nahhbl.ootp-leagues.com" target="_blank">NAHHBL</a> - <a href="http://www.geocities.com/dlayersjr/phillies/" target="_blank">Philadelphia Phillies</a> (1984)

<a href="http://baseballsimcentral.com/dloads/Out_of_the_Park/Out_of_the_Park_4/Face_Packs/" target="_blank">Download my 1982 Facepacks at BaseballSimCentral!</a>
Killer_Bs is offline   Reply With Quote
Old 10-10-2002, 11:49 PM   #33 (permalink)
Bat Boy
 
Join Date: Aug 2002
Posts: 9
Thanks: 0
Thanked 0x in 0 posts
I am having a problem getting the script to work on my webserver can someone help me

The zip name of the HTML Files is : LEAGUESITE.zip
Where I want the HTMl files to unzip to :/NEBL
This is the error I get :
Executionof /www/r/rhemler/htdocs/unzipfiles.cgi aborted due to compilation errors.


Here is the script

#!/usr/bin/perl

use strict;
use CGI::Carp qw(fatalsToBrowser);

my $Verzeichnis = "/NEBL";
my $zipfile = $Verzeichnis . "LEAGUESITE.zip";

if (-e $zipfile) {
$r = system("unzip -o -q -C $zipfile -d $Verzeichnis");
if ($r==0) {
print "Success!\n";
unlink($zipfile);
}
else {
print "Error " . $r . "\n";
}
}

Thanks
__________________
NEBL- Commish
NEBL- Mets
BTTF- Whitesoxs

Last edited by nebl; 10-11-2002 at 12:10 AM.
nebl is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:31 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments