Change save to file name but from the client

Posted by Rhythmic Algorithm on Stack Overflow See other posts from Stack Overflow or by Rhythmic Algorithm
Published on 2010-04-06T07:01:04Z Indexed on 2010/04/06 7:43 UTC
Read the original article Hit count: 179

This question asks about file name the servers sends and the fix was quite simply a content-disposition header in the http response.

What I interested in is does anyone know of any way to do this from the client side if the file name is already known? Is there any special javascript to do this for example?

A site I have to use but not mine has a FileDownload.aspx but it doesn't send the content-disposition header. I know the filename and would like to be able to create a firefox extensions to use for the poorly coded web site.

Thanks

© Stack Overflow or respective owner

Related posts about http

Related posts about html