Fixed the Windows script for uploading Lua API to an FTP server.
The new script handles subfolders, too.
This commit is contained in:
parent
537d1c4e42
commit
06dbc783fe
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,6 +11,7 @@ cloc.xsl
|
|||||||
*.user
|
*.user
|
||||||
*.suo
|
*.suo
|
||||||
/EveryNight.cmd
|
/EveryNight.cmd
|
||||||
|
/UploadLuaAPI.cmd
|
||||||
|
|
||||||
# IDE Stuff
|
# IDE Stuff
|
||||||
## Sublime Text
|
## Sublime Text
|
||||||
|
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user