Thread: uploading files
View Single Post
Old 07-06-2009, 07:26 AM   #4 (permalink)
f.montoya
Hall Of Famer
 
f.montoya's Avatar
 
Join Date: Nov 2004
Posts: 5,842
Thanks: 204
Thanked 181x in 89 posts
Did you create a separate FTP account for OOTP use? If not, I recommend doing so. Here is what I suggest...

1. Create an FTP account for OOTP as such...

Usually your main FTP account has access to everything from the root directory on down. If your website was www.mysite.com, more than likely, your main website files reside in public_html/. Therefore make a new folder and call it "ootp". Then create an FTP account that ONLY has access to the folder public_html/ootp.

2. Inside the "ootp" directory, create more folders with names "lgreports", "lgexports", "lgfile".

3. Now configure your OOTP X FTP to your new FTP account. Where it asks for target directories, you put in "lgfile", "lgreports", "lgexports" accordingly. No need to add "ootp/lgreports" because after connecting, the game will already be inside the "ootp" directory, and thus will not find a directory so named.

4. Make sure you name your league something like "myleague.lg" in the FTP setup of OOTP. Check the boxes that ask if you want the game to store the FTP account info in the league file.

Once your league members have a copy of this new league file, they should extract it to their saved_games folder and make sure that the extracted files are inside a folder called "myleague.lg". If not, be sure to change the name of the folder.

After that, they will be able to update in-game and you will be able to archive and upload in-game. If the file is extremely large, just continue to use FileZilla and make sure the name of your file remains consistent or your league members will not be able to update in-game.

IMPORTANT NOTE: The above instructions are the simplest way of achieving what you need to do but they are not the most secure. Once you get the above working, you should attempt to go a step further and separate into 3 FTP accounts or test not using FTP for the league file download.
__________________
Fidel Montoya

Asahi2 Baseball Commissioner(Historical League Since 2004)
www.allsimbaseball.com (OOTP web hosting - Customized sites for online leagues - Sign up, Connect OOTP and Play!)
Share Your Mods - Free, unlimited and easy to upload to share your Mods instantly(free site registration required)
AllYouSports - "Because Facebook don't do baseball stats"
f.montoya is offline   Reply With Quote