|
|
#21 (permalink) |
|
All Star Starter
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 |
|
|
|
|
|
#23 (permalink) | ||
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,720
Thanks: 200
Thanked 1,393x in 513 posts
|
Quote:
Quote:
Don't worry, I'll do it.
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
||
|
|
|
|
|
#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> |
|
|
|
|
|
#26 (permalink) |
|
Administrator
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 andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
|
|
|
|
|
#27 (permalink) |
|
All Star Starter
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 |
|
|
|
|
|
#28 (permalink) |
|
All Star Starter
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 |
|
|
|
|
|
#29 (permalink) |
|
All Star Starter
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 |
|
|
|
|
|
#31 (permalink) |
|
Hall Of Famer
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. |
|
|
|
|
|
#32 (permalink) |
|
Minors (Double A)
Join Date: Mar 2002
Location: Limestone, TN
Posts: 127
Thanks: 0
Thanked 0x in 0 posts
|
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> |
|
|
|
|
|
#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. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|