What generate the "PARTIAL" status of an uploaded file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Emma
    Mivite

    • Mar 2006
    • 230

    #1

    What generate the "PARTIAL" status of an uploaded file?

    Hello everyone,

    Quick question. The partial status when using Miva_ProcessFileUpload is a sign of what? I keep getting partial status when streaming files from javascript to my upload function and don't know where to search for an answer ( the binary content of the file should be ok - tested on JS) ... so what could generate this status?

    Thanks for your help
    Emma
    Zen Radio : Relax :) : www.zenradio.fm
    MivaScript Tutorials & Scripts : www.mivascript.org
  • Emma
    Mivite

    • Mar 2006
    • 230

    #2
    Re: What generate the "PARTIAL" status of an uploaded file?

    I'm getting expert in answering my own questions :D My problem was that I didn't read the documentation correctly and assumed that Miva_ValidateFileUpload need to return a positive number (1) in case I accept the content_type of the file. And in fact, I had to return 0 when it's ok :-)

    Sorry for my second dumb post (please, moderators, feel free to delete both and sorry)

    Best regards,
    Emma
    Zen Radio : Relax :) : www.zenradio.fm
    MivaScript Tutorials & Scripts : www.mivascript.org

    Comment

    Working...
    X