How to upload a big file into Wordpress?

18 replies
On my product download page for my Wordpress site, I have a PDF that exceeds the file limit size.

Do you know how I can either reduce the file size so that I can upload it into my media library?

Doesn't look like uploading a zipped file is possible.

Thanks for your help!
#big #file #upload #wordpress
  • Profile picture of the author Leslie B
    You can upload it to your site via an ftp program or via your cpanel - File Manager. Then you just add the link to where you uploaded it on your downloadpage.

    Leslie
    Signature
    Taking it one day at a time!
    {{ DiscussionBoard.errors[3005118].message }}
    • Profile picture of the author BillyBee
      Originally Posted by Leslie B View Post

      You can upload it to your site via an ftp program or via your cpanel - File Manager. Then you just add the link to where you uploaded it on your downloadpage.

      Leslie
      That's a great solution, Leslie, thanks! I never thought of that.
      {{ DiscussionBoard.errors[3005123].message }}
  • Profile picture of the author Leslie B
    Sometimes people forget not everything has to go through your wp-admin. It's easy, but not necessary

    Leslie
    Signature
    Taking it one day at a time!
    {{ DiscussionBoard.errors[3005129].message }}
  • Profile picture of the author Istvan Horvath
    Also, making it a zip file (very recommended!) can reduce its size...
    Signature

    {{ DiscussionBoard.errors[3005190].message }}
  • Profile picture of the author rain21
    zip it and upload through ftp ))
    {{ DiscussionBoard.errors[3005232].message }}
  • Profile picture of the author dadamson
    Yea, just upload directly to your FTP using FileZilla or something similar (even through your hosting control panel).

    Then grab the direct link to the file and place on your page as a download link
    {{ DiscussionBoard.errors[3005813].message }}
    • Profile picture of the author Istvan Horvath
      Originally Posted by dadamson View Post

      Then grab the direct link to the file and place on your page as a download link
      Saying again for all those that don't know any better: a direct link to a PDF file (which was mentioned by the OP) will NEVER be a download link. Period. But can successfully cripple your browser when it wants to open in it.

      ZIP it! - that's the keyword everybody should remember!
      (If I had $1,000 for every gooroo that doesn't know this basic rule, I woldn't have to work anymore, LOL)
      Signature

      {{ DiscussionBoard.errors[3006131].message }}
      • Profile picture of the author dadamson
        Originally Posted by Istvan Horvath View Post

        Saying again for all those that don't know any better: a direct link to a PDF file (which was mentioned by the OP) will NEVER be a download link. Period. But can successfully cripple your browser when it wants to open in it.

        ZIP it! - that's the keyword everybody should remember!
        (If I had $1,000 for every gooroo that doesn't know this basic rule, I woldn't have to work anymore, LOL)
        A lot of websites these days have the direct PDF link and include a note saying "right click and save target as.."

        You might want to mention this because not everyone has an unzipping software, open-rates are higher when I include a direct link to PDF after split-testing in a range of niches.

        PDF files are already a smaller size than their DOC conterpart so I find zipping unnecessary even for larger PDF files.

        By the way, I never once referred to myself as a guru. - I am here helping others.

        -Dave
        {{ DiscussionBoard.errors[3006176].message }}
      • Profile picture of the author mojojuju
        Originally Posted by Istvan Horvath View Post

        Saying again for all those that don't know any better: a direct link to a PDF file (which was mentioned by the OP) will NEVER be a download link. Period.
        That's not true.

        Originally Posted by Istvan Horvath View Post

        But can successfully cripple your browser when it wants to open in it.
        Yes, a large pdf file can bog down a browser if the browser is not told how to handle a pdf file.

        ZIP it! - that's the keyword everybody should remember!
        I wish people wouldn't. Putting single pdf's in a zip archive is usually unnecessary and inconvenient to users.

        Instead of zipping a file in order to force a download, browsers can be told to handle PDF's by downloading them rather than opening them with helper applications.

        Just add the following lines to an .htaccess file in the same (or higher) directory as the pdfs are stored:

        Code:
        <FilesMatch ".(pdf)$">
          ForceType application/octet-stream
          Header set Content-Disposition attachment
        </FilesMatch>
        This requires an Apache web server with mod_headers enabled, probably most shared hosting providers used by Warriors have this capability. On other web servers, there are ways to do this too. just google "how to force PDF download" or something like that to find out how to force a pdf download on other platforms.
        Signature

        :)

        {{ DiscussionBoard.errors[3006388].message }}
  • Profile picture of the author Michael Meaney
    I had this problem a few years ago.. even when zipped the folder was too big.

    Here's what I did..

    I increased the limit in the php.ini file.

    FAQ Working with WordPress « WordPress Codex
    {{ DiscussionBoard.errors[3006195].message }}
  • Profile picture of the author Hosterbox
    You can upload it to your site via an ftp program or via your cpanel - File Manager. Then you just add the link to where you uploaded it on your downloadpage.

    Leslie
    Yep a direct upload via FTP is the best solution.
    {{ DiscussionBoard.errors[3006209].message }}
  • Profile picture of the author Istvan Horvath
    Are you trying to tell me that for web-illiterate beginners it is easier to mess with a .htaccess file than to use a zipping tool?
    :confused:
    Signature

    {{ DiscussionBoard.errors[3006458].message }}
    • Profile picture of the author mojojuju
      Originally Posted by Istvan Horvath View Post

      Are you trying to tell me that for web-illiterate beginners it is easier to mess with a .htaccess file than to use a zipping tool?
      :confused:
      No. I wasn't.

      But since you mentioned it, I do think beginners are capable of copying and pasting four lines of text into a file named .htaccess.

      If anyone does have any trouble implementing this .htaccess method to force browsers to download, instead of display, PDF's, you may contact me via PM and I will provide you with any assistance you may need with this.

      Your shortcut, Istvan, may be easier for some webmasters to accomplish. But I think it's important to think beyond that, to think about end users, web site visitors - the people who will ultimately be downloading your PDF reports.

      Consider that many web-illiterate beginners who would download a free report may have difficulty in unzipping it if they do not have installed, or do not know how to use an unzipping utility.

      I'd rather just do a little more work on my end to make things easier for my visitors. I don't want the extra step of them having to unzip an archive interfere with them reading my report.
      Signature

      :)

      {{ DiscussionBoard.errors[3006595].message }}
  • Profile picture of the author SageSound
    Ok, given the direction of this thread, you guys probably don't even want to discuss how to PROTECT your naked download links from being able to be passed around ... whew!
    {{ DiscussionBoard.errors[3006476].message }}
    • Profile picture of the author mojojuju
      Originally Posted by SageSound View Post

      Ok, given the direction of this thread, you guys probably don't even want to discuss how to PROTECT your naked download links from being able to be passed around ... whew!
      Why not start a new thread about it?
      Signature

      :)

      {{ DiscussionBoard.errors[3006612].message }}
  • Profile picture of the author Syamsul Alam
    How big are your pdf? I usually use Google sites to upload my product. Have size limit of 20 mb, but I don't pay hosting, and the up time is REALLY good.

    My product download only down when Google down. And that is really help.
    Signature
    Signature Here...
    ----------------------------------------------------------------------------------------------------
    Move your cursor to my link and it will magically turned red when you do it. Try (and click) it!
    {{ DiscussionBoard.errors[3209841].message }}
  • Profile picture of the author unbrokenspirit
    i used to directly upload it with filezilla, i also recommend to make a zip format on web based ftp.
    If .kgb format compatible, this may a great way, but it's just in my dream
    {{ DiscussionBoard.errors[3210186].message }}

Trending Topics