With the increasing frequency and duration of outages of the ConnectomeDB Aspera server as both the server and licensed software ages, it is sometimes necessary to get resource page data via REST.  It's a fairly straightforward process to convert Resource page Aspera URLs to REST URLs that can be used for downloading resource data.  Here are the steps:


  1.   Right click on resource link to copy the URL into a clipboard:



  2.  Paste the resulting link in your usual text editor and edit:

    Copied link:

    https://db.humanconnectome.org/app/action/ChooseDownloadResources?project=HCP_Resources&resource=Scripts&filePath=HCP_TFMRI_scripts.zip 

    Replace BOLD sections:

    https://db.humanconnectome.org/app/action/ChooseDownloadResources?project=HCP_Resources&resource=Scripts&filePath=HCP_TFMRI_scripts.zip 

    With:

    https://db.humanconnectome.org/data/projects/HCP_Resources/resources/Scripts/files/HCP_TFMRI_scripts.zip

    Becomes:

    https://db.humanconnectome.org/data/projects/HCP_Resources/resources/Scripts/files/HCP_TFMRI_scripts.zip


  3. Copy and paste new URL from your editor into your browser OR use curl:




    OR



  • No labels