Davide Cittaro wrote:
Hi all, I have some skilled end users that would like to download multiple files from our local galaxy data library with command line utilities (i.e. they would like to "wget" some files from histories). One way to do this is to copy the item link within the history and paste as wget argument. Unfortunately, this has to be done for every item. Another way is to select all files from the Data Library and download as archive (but you can't copy the link...) and it takes so much time when you have to download BAM files (or any other huge one)... I was looking at the source code wondering how difficult would be to add a functionality for the data library that is:
For selected items "get the public link"
that saves a text file with all the public links (or copies them to pasteboard, or simply displays them in another window....) so that one can use that info to script the download somewhere else (and at any time)... Any suggestion is welcome! :-)
Hi Davide, I wrote up a proof of concept for this that basically does the latter of your suggestions and displays the links on the resulting page after clicking "Go" in the library. One problem, though, is that unless the server is using HTTP Authentication, users will not be able to access any non-public files this way. We could work around this by generating a link to the API that includes the user's API key, if the API is enabled and the user has generated a key (and the API had a library dataset download method, which it currently does not). But this worries me, since users may not be clear that sharing the URL with others would be like sharing their account details. --nate
d
/* Davide Cittaro
Cogentech - Consortium for Genomic Technologies via adamello, 16 20139 Milano Italy
tel.: +39(02)574303007 e-mail: davide.cittaro@ifom-ieo-campus.it <mailto:davide.cittaro@ifom-ieo-campus.it> */
------------------------------------------------------------------------
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev