Menu

#3 File upload fails for large binary files

Confirmed Fault
closed-works-for-me
File Upload (8)
6
2000-07-27
2000-05-17
No

File upload is dying badly on +1Mb binary files (and reportedly on some smaller ones). Either mail gets sent, but no attachment's there, or no mail gets sent.

I reckon its down to the pure perl base64 encoding routine - I'm looking at making that a fallback option and doing an initial shot of using native MIME::Base64

Discussion

  • Vittal Aithal

    Vittal Aithal - 2000-05-17
    • assigned_to: nobody --> vittal
     
  • Vittal Aithal

    Vittal Aithal - 2000-05-17

    I've now added a patch that possibly resolves this.

    The patch evals to see if MIME::Base64 is available, and failing that, I've
    altered the encoding loop and removed a regexp that seemed to be
    causing grief.

    Awaiting some feedback from people who are having upload problems
    before marking closed.

     
  • Vittal Aithal

    Vittal Aithal - 2000-05-18
    • priority: 5 --> 6
    • status: open --> open-works-for-me
     
  • Vittal Aithal

    Vittal Aithal - 2000-05-19

    another source of problems may be the use of locale dependent newlines at the base64 encoding linebreak - 1.0.7 uses \cM\n - but i think it probably should be \015\012

    a russian user is reporting corruption of attachments.

     
  • Vittal Aithal

    Vittal Aithal - 2000-05-21
    • milestone: 100100 --> Confirmed Fault
     
  • Vittal Aithal

    Vittal Aithal - 2000-06-15

    This is really freaky - some systems are fine, some barf up - even when using the same soupermail code.

    So, is it:

    *) browser? doubt it, uploading the same file to different machines with the same browser gives different results
    *) CGI.pm? maybe
    *) MIME::Base64 module?
    *) OS/installed libs?

    ideas anybody? this is a real pain to track down, because it works for me. anybody with an affected box and who's willing to give me a log on so i can do some testing will be doing me a BIG favour.

    v

     
  • Vittal Aithal

    Vittal Aithal - 2000-07-27

    1.0.7.1 adds some stuff that should prevent this, but i aint sure, so here's hoping.

     
  • Vittal Aithal

    Vittal Aithal - 2000-07-27
    • status: open-works-for-me --> closed-works-for-me
     
  • Nobody/Anonymous

    Hi Vittal,

    I have encountered this problem -- mail me at badens@websiteservices.ltd.uk and I will do whatever I can to assist in ironing this one out.

    atb,

    Baden

     
  • Nobody/Anonymous

    Logged In: NO

    heloo

     
  • Nobody/Anonymous

    Logged In: NO

    Is this problem resolved. I am still encountering this
    problem when I post files over 2.4 meg in total size.

    This problem may cost me an account so it is quite
    important that I fix it.

    HELP!!!

     

Log in to post a comment.