diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-08 22:49:53 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-08 22:49:53 +0200 |
commit | 7741b9a20f53b0b954f99c4bc90ed4e82d88589d (patch) | |
tree | 006913e2df8499ecb41b50f0a39eb696b13b7641 | |
parent | Fixed linux compilation in regard to SQLite dependency on libdl (diff) | |
download | cuberite-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 |
Diffstat (limited to '')
-rw-r--r-- | Nightbuild2008.cmd | 21 |
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.
|