Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorSpookyET
    • CommentTimeMar 16th 2007
     permalink
    If I use AJAX to download a binary file, is it possible to use JavaScript or another trick to force the browser to download the file and save it?
    I tried to fake it using location.href="data:application/foo",[data received using ajax]".
    It works, but the problem is that browsers have a limit of 4K on data uris, and it saves a partial file.

    The object of this code is to get around referral checks.
Add your comments
    Username Password
  • Format comments as (Help)