1
0

Fixed the Windows script for uploading Lua API to an FTP server.

The new script handles subfolders, too.
This commit is contained in:
madmaxoft 2013-12-28 09:44:14 +01:00
parent 537d1c4e42
commit 06dbc783fe
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ cloc.xsl
*.user *.user
*.suo *.suo
/EveryNight.cmd /EveryNight.cmd
/UploadLuaAPI.cmd
# IDE Stuff # IDE Stuff
## Sublime Text ## Sublime Text

View File

@ -38,7 +38,7 @@ cd ..
:: Upload the API to the web: :: Upload the API to the web:
ncftpput -p %ftppass% -u %ftpuser% -T temp_ %ftpsite% /LuaAPI MCServer/API/*.* ncftpput -p %ftppass% -u %ftpuser% -T temp_ -R %ftpsite% /LuaAPI MCServer/API/*.*
if errorlevel 1 goto haderror if errorlevel 1 goto haderror
echo Upload finished. echo Upload finished.