Hi Ben,

Ok Thanks, Sorry, I'll remember that for next time.

BTW Mozilla downloads attachments fine from SourceForge's trackers. That's just Mozilla's intelligence at work, there is still a problem with SF:

% curl -I "https://sourceforge.net/tracker/ download.php?group_id=17203&atid=414256&file_id=36263&aid=644514"
HTTP/1.1 200 OK
Date: Wed, 27 Nov 2002 18:57:45 GMT
Server: Apache/1.3.27 (Unix) PHP/4.1.2 mod_ssl/2.8.12 OpenSSL/0.9.6b
X-Powered-By: PHP/4.1.2
Content-Disposition: filename=webmin-telnet-1.031-1.info
Connection: close
Content-Type: application/octet-stream

Problem is web browsers and web sites aren't following the recommended and documented procedures. IE is notably bad, it uses and the MS website even *recommends* their' own silly convention (no surprise there) that websites use "Content-Disposition: download" in the http headers.

Here's a php snippet which demonstrates what web sites _should_ be using. It follows RFC2183 (This RFC may have been superseded already, but I believe this part still stands):

header("Content-Type: application/whatever; name=\"$filename\"");
header("Content-Disposition: attachment; filename=\"$filename\"");

I've been bugging web sites and web browser companies to follow this whenever I encounter it, but the problem is widespread. (Pass it on.)

Carsten

On Wednesday, November 27, 2002, at 12:21 pm, [EMAIL PROTECTED] wrote:

Comment By: Ben Hines (benh57)
Date: 2002-11-24 16:13

Message:
Logged In: YES
user_id=125034

Please put those in one tarball, cmon man. You know how hard it is to get tracker items with the proper name? I have to select the name, copy, right click download, select "save link to" , paste the name, and select a directory.

For each file.

You have sf's idiotic attachment system to thank for that one. If you just click download, you get a ".php" file.


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to