Question: Problem With Downloading
0
gravatar for GANDRILLON OLIVIER
5.4 years ago by
GANDRILLON OLIVIER70 wrote:
Hi I am trying to download the results of my analysis (.sam files) from Galaxy main. The download gets interrupted about halfway, with no error message, as if the full file had been downloaded (but has not). Thank's for your help Best Olivier Gandrillon
galaxy • 1.1k views
ADD COMMENTlink modified 17 months ago by sameerdilipkhot20 • written 5.4 years ago by GANDRILLON OLIVIER70
1
gravatar for sameerdilipkhot
17 months ago by
sameerdilipkhot20 wrote:

Hi,

I have found following tips useful for Mac users.

For Mac users open terminal and do the following,

Include the -L (or –location) switch, since that will allow curl to follow any redirects (if the file gets moved, but there is a redirect for it). Also, if the URL’s file part (the section after the last slash) is not pretty, you can give a name for the downloaded file by using a lower-case -o (instead of -O), followed by a space and the name in quotes (Although -O can be left as is which still allows one to rename file after download completion in the select location. Also, always put the URL in single-quotes – ampersands and a few other characters will break on the command line if they aren’t in quotes. Here’s an example of those ideas combined:

First start by selecting a suitable location where you want your file saved as below

cd ~/Desktop

curl -L -o ‘myfile.dmg’ ‘http://www.somewebsite.com/files/getdmg?id=24’

OR

Just use

cd ~/Desktop curl -L -O http://www.somewebsite.com/files/getdmg?id=24

Hope this works for most Mac users. Cheers, SDK

ADD COMMENTlink modified 17 months ago • written 17 months ago by sameerdilipkhot20
0
gravatar for Jennifer Hillman Jackson
5.3 years ago by
United States
Jennifer Hillman Jackson25k wrote:
Hello Olivier, From a shell/unix/terminal window on your side, use "curl" to download very large datasets. The link can be obtained by right clicking the floppy disk icon inside a history item and choosing "Copy Link Address" (for most datasets) or "Download Dataset/Download bam_index" (for BAM datasets there are two downloads). Once you have the link: $ curl -O '<link>' Hopefully this helps! Jen Galaxy team -- Jennifer Hillman-Jackson Galaxy Support and Training http://galaxyproject.org
ADD COMMENTlink written 5.3 years ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 172 users visited in the last hour