SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Evangelist hantaah's Avatar
    Join Date
    Jul 2011
    Location
    Birmingham, Uk
    Posts
    562
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Forse downloads and mobiles

    I have a force download page but was wondering how these work in conjunction with mobile phone. Can you use them to download files inthis way?

  2. #2
    Non-Member
    Join Date
    Oct 2007
    Posts
    363
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    What do you mean by "force download"?

  3. #3
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @aaarrrgh - you can use the Content-Disposition: attachment to kinda force the user to download the file instead of displaying in the browser. Useful for PDF files.

    @hantaah - The safari mobile browser won't download - it'll just attempt to display in the browser with a bar on top letting you choose if you wanna open in dropbox (or other applications that have been registered with the iOS to open files, i guess). if its not something readable, it'll just display an icon.

    On mobile chrome, there is no bar, if its not something readable by the browser, it just shows that chrome is unable to download the file.

  4. #4
    SitePoint Evangelist hantaah's Avatar
    Join Date
    Jul 2011
    Location
    Birmingham, Uk
    Posts
    562
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tankianann View Post
    @aaarrrgh - you can use the Content-Disposition: attachment to kinda force the user to download the file instead of displaying in the browser. Useful for PDF files.

    @hantaah - The safari mobile browser won't download - it'll just attempt to display in the browser with a bar on top letting you choose if you wanna open in dropbox (or other applications that have been registered with the iOS to open files, i guess). if its not something readable, it'll just display an icon.

    On mobile chrome, there is no bar, if its not something readable by the browser, it just shows that chrome is unable to download the file.

    Great! Thanks for that info


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •