Hello Javier,
Thanks for sharing this information.
It has been a long journey, but I finally found a workflow for downloading data following instructions in the link that you shared below:
I am currently using this workflow in terra workspace to download the data from dbgap.
Thank you.
Best,
Oyomoare