Re: Fetching files

2008-03-10 Thread Marc Espie
On Mon, Mar 10, 2008 at 05:46:25AM +0200, Antti Harri wrote: On Sun, 9 Mar 2008, Marc Espie wrote: On Sun, Mar 09, 2008 at 08:15:26PM +0200, Antti Harri wrote: How can I fetch files that contain ? and = characters in the filename? The file was something like foo.tar.gz?format=raw You

Re: Fetching files

2008-03-10 Thread Antti Harri
On Mon, 10 Mar 2008, Marc Espie wrote: Actually, figured out you're talking ports and not packages. Yep. Use the right name for these things, will you ? Well I was hasty to write that email so I won't forget to ask about it. It had been on my mind for couple of days and it popped my mind

Fetching files

2008-03-09 Thread Antti Harri
How can I fetch files that contain ? and = characters in the filename? The file was something like foo.tar.gz?format=raw Looking at the sourcecode of pkg_tools I came to a conclusion that it is impossible currently, am I right? I worked around that problem by asking the author of the files to

Re: Fetching files

2008-03-09 Thread Steve Shockley
Antti Harri wrote: How can I fetch files that contain ? and = characters in the filename? The file was something like foo.tar.gz?format=raw Use quotes around it? It depends on the shell, the problem is that the shell is interpreting the special characters before handing it to your program.

Re: Fetching files

2008-03-09 Thread Marc Espie
On Sun, Mar 09, 2008 at 08:15:26PM +0200, Antti Harri wrote: How can I fetch files that contain ? and = characters in the filename? The file was something like foo.tar.gz?format=raw You don't, not directly. It makes no sense. You should write a shell script that you use as an ftp command that

Re: Fetching files

2008-03-09 Thread Antti Harri
On Sun, 9 Mar 2008, Marc Espie wrote: On Sun, Mar 09, 2008 at 08:15:26PM +0200, Antti Harri wrote: How can I fetch files that contain ? and = characters in the filename? The file was something like foo.tar.gz?format=raw You don't, not directly. It makes no sense. You should write a shell

Re: Fetching files

2008-03-09 Thread Antti Harri
On Sun, 9 Mar 2008, Steve Shockley wrote: Antti Harri wrote: How can I fetch files that contain ? and = characters in the filename? The file was something like foo.tar.gz?format=raw Use quotes around it? It depends on the shell, the problem is that the shell is interpreting the special