summaryrefslogtreecommitdiff
path: root/tools/release/snapshot_download_docs.bat
diff options
context:
space:
mode:
authorMarshall Clow <marshall@idio.com>2013-07-01 16:53:14 +0000
committerMarshall Clow <marshall@idio.com>2013-07-01 16:53:14 +0000
commitb6009a89491183910053baa9020cda9cc6cd3b42 (patch)
treed2d634c9bfd37013d3a964204d37774f4db36a3a /tools/release/snapshot_download_docs.bat
parent976548a67dbaa0ded32850cfec396d19877b9d72 (diff)
parent7b8f9263e91a8036235f672800965914d5f1edb4 (diff)
downloadboost-b6009a89491183910053baa9020cda9cc6cd3b42.tar.gz
Release 1.54.0boost-1.54.0
[SVN r84923]
Diffstat (limited to 'tools/release/snapshot_download_docs.bat')
-rw-r--r--tools/release/snapshot_download_docs.bat31
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/release/snapshot_download_docs.bat b/tools/release/snapshot_download_docs.bat
new file mode 100644
index 0000000000..5bdae2b5a8
--- /dev/null
+++ b/tools/release/snapshot_download_docs.bat
@@ -0,0 +1,31 @@
+@echo off
+rem Download and unpack boost-release-docs.7z
+
+rem Copyright 2008 Beman Dawes
+
+rem Distributed under the Boost Software License, Version 1.0.
+rem See http://www.boost.org/LICENSE_1_0.txt
+
+echo Downloading docs subdirectory...
+
+echo Deleting old files and directories ...
+del boost-docs.7z 2>nul
+del boost-release-docs.7z 2>nul
+rmdir /s /q docs_temp 2>nul
+mkdir docs_temp
+
+echo Creating ftp script ...
+rem user.txt must be a single line: user userid password
+rem where "userid" and "password" are replace with the appropriate values
+copy user.txt download_docs.ftp
+echo binary >>download_docs.ftp
+echo get boost-release-docs.7z >>download_docs.ftp
+echo bye >>download_docs.ftp
+
+echo Running ftp script ...
+ftp -d -n -i -s:download_docs.ftp boost.cowic.de
+
+echo Unpacking 7z file ...
+7z x -y -odocs_temp boost-release-docs.7z
+
+echo Download and unpack boost-release-docs.7z complete! \ No newline at end of file