Local downloads: MIME header descriptors

Locked
danielwang
Village Idiot
Joined: Fri May 03, 2002 12:17 am
Location: Denver, CO Banned: Several times!
Contact:
Org Profile

Local downloads: MIME header descriptors

Post by danielwang » Sun Dec 14, 2003 11:41 pm

Hello;

Can't use any download managers (GetWrong, et al) or Windows Media Player 9 to access the file. Apparently you're servig the actual data out through PHP over HTTP. Uh, but there's a slight problem with the configurability of PHP, called headers.

You're able to determine the bitrate and encoding of a MPEG file (seen in Title), so why in the header, the MIME descriptor is "Application Octet Stream" and the structure is "Multi part".
You can install ASP.NET and change that to "multimedia/MPEG-System" or whatever it's supposed to be.

Just a suggestion.

User avatar
Phade
Site Admin
Joined: Fri Oct 20, 2000 10:49 pm
Location: Little cabin in the woods...
Org Profile

Post by Phade » Mon Dec 15, 2003 12:46 am

Hey,

I'm sorry, but, good grief, you are retarded. PHP can put out any mime header. I have configured the system to hand out a video as a file for downloading and saving on your hard drive while defeating "download accelerators" by limiting the number of possible connections to the sytem by tracking them and comparing the time since last download attempt. This allows you to download a video while saving bandwidth against misconfigured "download accelerators". Your suggested solution is "install ASP.NET" to change the header? Please educate yourself before posting techinical "solutions".

Phade.

User avatar
dokidoki
c0d3 m0nk3y
Joined: Tue Dec 19, 2000 7:42 pm
Status: BLEEP BLOOP!
Location: doki doki space
Contact:
Org Profile

Post by dokidoki » Mon Dec 15, 2003 2:28 am

Image
Image Image Image
"Comedy is a dying breed." -- kisanzi // "Comedy. Serious business." -- dokidoki

danielwang
Village Idiot
Joined: Fri May 03, 2002 12:17 am
Location: Denver, CO Banned: Several times!
Contact:
Org Profile

Post by danielwang » Mon Dec 15, 2003 3:52 am

Oops, my bad. Sorry.

Never thought that was intentional. For all that I knew, the only header that php sould send out was "x-text/html" or such. Being a Non PHP user, you're obviously much much more qualified than I am on these issues.

Just wanted to let you know, Windows Media Player gives a lame "Warning" message box when opening octet stream mime. And doesn't work very well because of the 1 second automatic thing.

So really, I guess your method works better. Guess there's no watching AMVs while d/l then.

Locked

Return to “Site Help & Feedback”