Welcome to the new Box Support website. Check out all the details here on what’s changed.

Can't upload chunked file with curl

Answered
New post

Comments

1 comment

  • Antonio_C

    Finaly I found the problem. I was encoding in base64 the hexadecimal string that sha1sum returns, but the api needs to encode the binary result. The correct way to generate the the digest from command line is something like this:

     

    openssl sha1 -binary borrargrandeaa | base64

     

    and in php:

     

    base64_encode(sha1($data,true));

     

    0
    Comment actions Permalink

Please sign in to leave a comment.