Hi Nate,

I checked and what downloaded is a webpage, I opened it on browser, and screenshot attached.

Basically it displays error saying File not found. But dataset download works fine via browser.

Cheers,
Derrick

On Fri, Oct 26, 2012 at 11:44 PM, Nate Coraor <nate@bx.psu.edu> wrote:
On Oct 24, 2012, at 11:15 PM, Derrick Lin wrote:

> Hi guys,
>
> On our Galaxy is proxy-ed via Apache according to the wiki guide, the normal download dataset via browser is working fine.
>
> However, when I tried download from command line via wget or curl -O (I copied the dataset URL by right clicking the floppy disk icon).
>
> And here is the wget output:
>
> pwbcad@gamma01:tmp$ wget http://galaxy.demo.edu.au/galaxy/datasets/ccc5aff28d2c8616/display?to_ext=fastq
> --2012-10-25 10:57:42--  http://galaxy.demo.edu.au/galaxy/datasets/ccc5aff28d2c8616/display?to_ext=fastq
> Resolving galaxy.demo.edu.au... 1xx.x4.1xx.xx5
> Connecting to galaxy.demo.edu.au|1xx.x4.1xx.xx5|:80... connected.
> HTTP request sent, awaiting response... 302 Found
> Location: /galaxy/root?dataset_id=ccc5aff28d2c8616&filename=None [following]
> --2012-10-25 10:57:42--  http://galaxy.demo.edu.au/galaxy/root?dataset_id=ccc5aff28d2c8616&filename=None
> Connecting to galaxy.demo.edu.au|129.94.136.205|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: "root?dataset_id=ccc5aff28d2c8616&filename=None.1"
>
>     [ <=>                                                                                                                                                                       ] 28,476      --.-K/s   in 0.001s
>
> 2012-10-25 10:57:42 (31.4 MB/s) - "root?dataset_id=ccc5aff28d2c8616&filename=None.1" saved [28476]
>
> It seems like the Apache returned another URL (returned 302, probably due to proxy) and the new URL is broken.

Hi Derrick,

What are the contents of the file that wget saved?  This should give you a clue as to what's going on.

--nate

>
> Thanks in advance.
>
> Cheers,
> Derrick
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>
>  http://lists.bx.psu.edu/