PHP FTP Problems

Discussion in 'PHP' started by nfd2005, Apr 15, 2006.

  1. #1
    Hello again.

    I've come across another problem...

    I have a file that is over 8mb in size and when I use PHP's FTP to download it, the download doesn't complete and the script just stops...

    How do I surpass this?

    Thanks.

    -NFD
     
    nfd2005, Apr 15, 2006 IP
  2. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have found, although you use PHP FTP function, there still seems to be a limit on how large the file is that uploads

    create a page, call it phpinfo.php

    In that file, add this script

    <?
    echo phpinfo();
    ?>

    Then open that file
    You will find max_file_upload

    This is normally set to 2MB
    Ask your hosting company if they can up it for you
     
    onlyican.com, Apr 16, 2006 IP