View Single Post
  #457 (permalink)  
Old 10-19-2009, 11:12 AM
raidzero's Avatar
raidzero
N00b
Offline
Threadstarter
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
Re: [ROMs][KITCHEN]->>Oct 18<<6.5 NK-RZ Baseline 23069 TF3d 2.1 & Titanium

This is the script (sanitized, mind you)

Code:
cd c:\users\ispmo151\downloads\winmo\upload

set path = "C:\Program Files\WinRAR\";%path%

rar a "c:\users\ispmo151\Downloads\WinMO\upload\RZ.rar" "C:\Users\ispmo151\Downloads\WinMO\AAA - Kitchens\RZ Baseline3.2 Kitchen v2.1" -mt2 -m5 -ag[yyyy-mm-dd] >> C:\users\ispmo151\downloads\WinMO\upload\LOG.TXT


for /F %%a in ('dir /b *.rar') do set FILE=%%a

echo user> upload.scr
echo pass>> upload.scr
echo bin>> upload.scr
echo lcd c:\users\ispmo151\downloads\winmo\upload>> upload.scr
echo cd raidzero.alexauv.com/kitchens/nightly>> upload.scr
echo bye>> upload.scr

ftp -i -s:upload.scr ftp.alexauv.com

del %FILE%
I will then just set this as a scheduled task in windows for midnight every night.

oh yeah, those paths are obviously for my set-up, if you just copy and paste it will most likely not work for you.
__________________

Last edited by raidzero; 10-19-2009 at 11:44 AM.
Reply With Quote