Index: trunk/ippTools/src/pzgetexp.c
===================================================================
--- trunk/ippTools/src/pzgetexp.c	(revision 18744)
+++ trunk/ippTools/src/pzgetexp.c	(revision 18762)
@@ -74,4 +74,7 @@
     PXOPT_LOOKUP_STR(uri, config->args, "-uri", true, false);
 
+    //optional
+    PXOPT_LOOKUP_S32(timeout, config->args, "-timeout", false, false);
+
     // find last fileset/exp_name (if we have one)
     bool haveLastFileSet = false;
@@ -110,4 +113,7 @@
     } else {
         psStringAppend(&cmd, "%s --uri %s", PRODUCT_LS_CMD, uri);
+    }
+    if (timeout) {
+        psStringAppend(&cmd, " --timeout %d", timeout);
     }
 
Index: trunk/ippTools/src/pzgetexpConfig.c
===================================================================
--- trunk/ippTools/src/pzgetexpConfig.c	(revision 18744)
+++ trunk/ippTools/src/pzgetexpConfig.c	(revision 18762)
@@ -51,4 +51,7 @@
     psMetadataAddStr(args , PS_LIST_TAIL, "-telescope",  0,
         "telescope name (required)", "");
+    psMetadataAddS32(args, PS_LIST_TAIL, "-timeout",  0,
+        "HTTP timeout", 0);
+
 
     bool status = false;
@@ -61,5 +64,5 @@
         fprintf(stderr, "error parsing arguments\n");
         printf("\nPan-STARRS Phase Z Get Exposures Tool\n");
-        printf("Usage: %s -uri <uri> -inst <camera> -telescope <telescope>\n\n",
+        printf("Usage: %s -uri <uri> -inst <camera> -telescope <telescope> [-timeout <n>]\n\n",
             argv[0]);
         psArgumentHelp(args);
