summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-08 22:49:53 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-08 22:49:53 +0200
commit7741b9a20f53b0b954f99c4bc90ed4e82d88589d (patch)
tree006913e2df8499ecb41b50f0a39eb696b13b7641
parentFixed linux compilation in regard to SQLite dependency on libdl (diff)
downloadcuberite-7741b9a20f53b0b954f99c4bc90ed4e82d88589d.tar
cuberite-7741b9a20f53b0b954f99c4bc90ed4e82d88589d.tar.gz
cuberite-7741b9a20f53b0b954f99c4bc90ed4e82d88589d.tar.bz2
cuberite-7741b9a20f53b0b954f99c4bc90ed4e82d88589d.tar.lz
cuberite-7741b9a20f53b0b954f99c4bc90ed4e82d88589d.tar.xz
cuberite-7741b9a20f53b0b954f99c4bc90ed4e82d88589d.tar.zst
cuberite-7741b9a20f53b0b954f99c4bc90ed4e82d88589d.zip
-rw-r--r--Nightbuild2008.cmd21
1 files changed, 19 insertions, 2 deletions
diff --git a/Nightbuild2008.cmd b/Nightbuild2008.cmd
index 6e55ecc50..8d61ee598 100644
--- a/Nightbuild2008.cmd
+++ b/Nightbuild2008.cmd
@@ -101,8 +101,25 @@ if errorlevel 1 goto haderror
-:: upload to FTP using the upload_win.ftp (.template) script
-ftp -n -s:Install\upload_win.ftp xoft.cz
+:: upload to the FTP:
+:upload
+if "a%ftppass%" == "a" (
+ echo You need to set FTP password in the ftppass environment variable to upload the files
+ goto end
+)
+if "a%ftpuser%" == "a" (
+ echo You need to set FTP username in the ftpuser environment variable to upload the files
+ goto end
+)
+if "a%ftpsite%" == "a" (
+ echo You need to set FTP server in the ftpsite environment variable to upload the files
+ goto end
+)
+ncftpput -p %ftppass% -u %ftpuser% -T temp_ %ftpsite% / Install\MCServer_Win_%WCREV%.7z
+if errorlevel 1 goto haderror
+ncftpput -p %ftppass% -u %ftpuser% -T temp_ %ftpsite% /PDBs Install\MCServer_Win_%WCREV%_PDBs.7z
+if errorlevel 1 goto haderror
+echo Upload finished.