Globus Online provides a Python API and development kit which expose more of the features of their transfer interface. See:
A convenience wrapper around the Python package is at: https://git.ncsa.illinois.edu/bw-seas/globustransferhelper and can be installed in a virtualenv or copied into your
module load bwpy/2.0.2 # or later to have globus-sdk in bwpy mkdir transfer cd transfer virtualenv --system-site-packages $PWD source bin/activate pip install git+https://git.ncsa.illinois.edu/bw-seas/globustransferhelper
the example code
A fully developed sample code in production use with Blue Waters is at: https://github.com/ncsa/jenkins-globus-online-workflow .