Can't upload chunked file with curl

回答済み
新規投稿

コメント

1件のコメント

  • 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
    コメントアクション パーマリンク

サインインしてコメントを残してください。