Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Upload error: Could not get file size

  1. #1

    Default Upload error: Could not get file size

    Hi,
    When i upload file more then 100mb in FTP Upload it gives error:
    Code:
    Upload error:
                      Could not get file size 
    
    Please,try again.
    Please help me to solve it
    thankss

  2. #2

    Default

    helpp!!!!!!!!!!!!!!!!!!
    i am not able to upload files more them 100mb..............
    no one here to help?????????????????????
    any one reply plzzzzz

  3. #3

    Default

    if you have dedicated server

    check your php.ini in [/usr/local/lib]

    and change

    upload_max_filesize 2mb

    to

    upload_max_filesize 250mb

    you can download the php.ini using CutFTP Pro (Connection type : SFTP using SSH2) edit it and then upload it again

    then restart your server

    if you are in shared webhost add the below two lines in the .htaccess

    post_max_size 300mb
    upload_max_filesize 300mb

    or see this
    http://forums.devshed.com/php-develo...ze-136258.html

  4. #4

    Default

    hi,
    thanks for reply,
    i hav dedicated server, my php.ini is already edited....
    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 600M

    still unable to upload any thing more then 100mb...
    thankss
    plzz help me...

  5. #5

    Default

    ok try to increase the max_execution_time in php.ini

    The max_execution_time is important, as PHP starts counting the moment you submit your file. If the upload isn't finished within time, the process is stopped.

  6. #6

    Default

    please ignore my last reply

    i just noticed that you are actually having problem with FTP Upload

  7. #7
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default

    Sorry for my delay rely!
    This error only cours for FTP upload!You should check the FTP url is correct and the ftp file is correct.It is better to post your ftp url here or PM me.

  8. #8

    Default

    hey,
    i am getting moore errors now......
    When i upload from URL Upload,
    after sometime like after uploading 60mb it givess error:
    In Firefox: after waitting for a while it pop up a browser cross.php
    In IE: It just got stuck.

    and then upload stucks.....
    plzz help me...
    its urgent....
    thanksss
    waiting for reply

  9. #9
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default

    The error of "Could not get file size":
    Edit "includes/ftp-client-class.php",line 548,
    Code:
    } while (substr($res, 3, 1) != " ");
    Replace with
    Code:
     
    } while (substr($res, 3, 1) != " "||!ereg("^[0-9][0-9][0-9] ", $res));

  10. #10

    Default

    Quote Originally Posted by yabsoft
    The error of "Could not get file size":
    Edit "includes/ftp-client-class.php",line 548,
    Code:
    } while (substr($res, 3, 1) != " ");
    Replace with
    Code:
     
    } while (substr($res, 3, 1) != " "||!ereg("^[0-9][0-9][0-9] ", $res));
    ok this error is solved but it getting some serious errors:
    When i upload from URL Upload,
    after sometime like after uploading 60mb it givess error:
    In Firefox: after waitting for a while it pop up a browser cross.php
    In IE: It just got stuck.
    and then upload stucks.....
    plzz help me...

Similar Threads

  1. Flash Upload!
    By yabsoft in forum Document & Tutorials!
    Replies: 0
    Last Post: 08-02-2006, 03:34 PM
  2. Not upload URL file
    By ngddkhuong in forum MFHS v1.1
    Replies: 4
    Last Post: 07-28-2006, 09:09 PM
  3. upload file name
    By venice_ in forum Troubleshooting And Problems
    Replies: 1
    Last Post: 06-20-2006, 06:23 AM
  4. User Timeout and Security
    By venice_ in forum General
    Replies: 1
    Last Post: 03-25-2006, 05:36 AM
  5. No Upload Form after user uploads file
    By uploadhouse in forum General
    Replies: 3
    Last Post: 12-01-2005, 02:40 AM

Posting Permissions

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