content-disposition filename=

Author Message
Franz Muell 06/30/2006 04:20 am
When downloading the url
http://vp.video.google.com/videodownload?version=0&secureurl=sAAAAPUcliy73d28Hwc1ROnS5FhvshFN38_qqQmxJub51wUUPbmp-h6Q6gzzG68YTg34EIQu-5PGIVBu1rMYPxmHftj5tGv8nfFDxWfPwH6CBVV4WwWZA-hCZLaSXkeGnDb084gtlxshbi3Opi06thNMdgX3WyBezWjCt5dFINTbZleCsNob8fRvk1R2zr_N6zOSCAsrLLOuEHX2BRJswuFDYzDhUA46XbEDGNjuQHJ418ywL2klz-YFOsUFoVKK_Y5Q5w&sigh=DwlIe6TCiGZbX86Q6zm58HoVNxw&begin=0&len=21560&docid=-430503368164070389&autoPlay=true&playerId=-430503368164070389\
(the final url behind http://video.google.com/videoplay?docid=-430503368164070389)
my opera browser proposes a filename
Boteraconcuero.flv
for storing the download, because there is a mime headline in the http header
Content-Disposition: attachment; filename=Boteraconcuero.flv .
Many bulletin board systems use similar methods for picture attachments, where the url in the bbs message contains lots of cryptic database parameters but the browser user gets a speaking picture filename.
Can OEP be instructed to also use such a filename?
Franz Muell 06/30/2006 05:40 am
> Can OEP be instructed to also use such a filename?
or to append such a filename to the original url when generating the target filename (to keep the latter unique) ?
Oleg Chernavin 06/30/2006 05:56 am
Offline Explorer should do this automatically - it will store a file with that URL (long one) as the filename. This will be just a redirection to the short filename Boteraconcuero.flv, which contains the actual contents.

Best regards,
Oleg Chernavin
MP Staff
Oleg Chernavin 09/01/2006 06:16 am
When downloading such links Offline Explorer sees that the file should be named as .jpg and not as php@attachmentid=... But to keep links intact in all previously downloaded files, it creates small files named according to the URLs and big .jpg files with the actual contents. Small files simply contain a redirection link to the JPGs.

Oleg.
Franz Muell 09/01/2006 02:31 pm
> When downloading such links Offline Explorer sees that the file should be named as .jpg and not as php@attachmentid=... But to keep links intact in all previously downloaded files, it creates small files named according to the URLs and big .jpg files with the actual contents. Small files simply contain a redirection link to the JPGs.
>
> Oleg.

My problem was that under certain circumstances this redirection is not done.
Therefore all the examples above.
Oleg Chernavin 09/02/2006 07:14 am
Yes, I looked at the code and I now remember that URLs with macros will be not processed this way, because there are often cases when they contain the same final filename, which may get rewritten. This is why I had to disable that. Sorry.

Oleg.