view scripts/issues/2013/download-zip.sh @ 10:a50cf11e5178

Rewrite LGDataverse completely upgrading to dataverse4.0
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 08 Sep 2015 17:00:21 +0200
parents
children
line wrap: on
line source

#!/bin/bash
APACHE_PORT=8888
GLASSFISH_PORT=8088
PORT=$APACHE_PORT
count=0; while true; do echo "downloading 4 GB file as zip attempt $((++count))"; curl -s http://127.0.0.1:$PORT/api/access/datafiles/3 > /tmp/3; done