You are not logged in.

#1 2010-06-19 15:37:26

Gallaecio
Member
From: Vigo (Spain)
Registered: 2009-04-10
Posts: 50
Website

[SOLVED] Download from a SourceForge URL with white spaces

I was trying to make a PKGBUILD for The Butterfly Effect, a free game which is still in it's Milestone 7 version. The thing is I'm not able to use this URL to download the source:
"http://download.sourceforge.net/sourceforge/tbe/files/Milestone 7/TheButterflyEffect-M7.src.tgz"

That is probably because the white space, and it must be SourceForge's fault, since neither wget (the one used with PKGBUILDs) nor Konqueror can download from that location, which I think is correct (I use others that way for other PKGBUILDs).

So...

1) Am I wrong, and I should write the URL with another syntax, or
2) is there a trick for cases like this one?

Last edited by Gallaecio (2010-06-19 16:35:28)

Offline

#2 2010-06-19 16:05:36

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: [SOLVED] Download from a SourceForge URL with white spaces

The first thing is the url itself. It's simply wrong. The correct one is http://downloads.sourceforge.net/project/tbe/Milestone 7/TheButterflyEffect-M7.src.tgz

The space shouldn't be a problem for makepkg, but if it fails, you can urlencode the url (replace the space with %20).

Offline

#3 2010-06-19 16:09:07

Awebb
Member
Registered: 2010-05-06
Posts: 6,418

Re: [SOLVED] Download from a SourceForge URL with white spaces

I don't know what's the matter with your software, but the correct link to the file is

http://sunet.dl.sourceforge.net/project/tbe/Milestone%207/TheButterflyEffect-M7.src.tgz

A space in a weblink usually translates into %20. See this for more info: http://en.wikipedia.org/wiki/Percent-encoding

Offline

#4 2010-06-19 16:12:57

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] Download from a SourceForge URL with white spaces

Offline

#5 2010-06-19 16:35:11

Gallaecio
Member
From: Vigo (Spain)
Registered: 2009-04-10
Posts: 50
Website

Re: [SOLVED] Download from a SourceForge URL with white spaces

Wow, thanks you all.

Offline

Board footer

Powered by FluxBB