Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the MD5 of a file #793

Closed
dinukadesilva opened this issue Apr 19, 2020 · 1 comment
Closed

How to get the MD5 of a file #793

dinukadesilva opened this issue Apr 19, 2020 · 1 comment

Comments

@dinukadesilva
Copy link

I can see that the SHA1 can be taken as following.

BoxAPIConnection api = new BoxAPIConnection("-- token --");
BoxFile boxFile = new BoxFile("-- box-file-id --");
BoxFile.Info boxFileInfo = boxFile.getInfo();

boxFileInfo.getSha1()

But, I need to get the MD5. Is there any way I could get it.

@sujaygarlanka
Copy link
Contributor

@dinukadesilva Our API does not return the MD5 value for a file, so our SDK can't get it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants