Skip to content

Commit d80db64

Browse files
committed
Fix #17352.
1 parent 17f7036 commit d80db64

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

googledrive/src/main/java/ch/cyberduck/core/googledrive/DriveWriteFeature.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
import ch.cyberduck.core.http.DefaultHttpResponseExceptionMappingService;
2525
import ch.cyberduck.core.http.DelayedHttpEntityCallable;
2626
import ch.cyberduck.core.http.HttpResponseOutputStream;
27+
import ch.cyberduck.core.io.ChecksumCompute;
28+
import ch.cyberduck.core.io.ChecksumComputeFactory;
29+
import ch.cyberduck.core.io.HashAlgorithm;
2730
import ch.cyberduck.core.preferences.HostPreferencesFactory;
2831
import ch.cyberduck.core.transfer.TransferStatus;
2932

@@ -181,4 +184,9 @@ public long getContentLength() {
181184
};
182185
return this.write(file, status, command);
183186
}
187+
188+
@Override
189+
public ChecksumCompute checksum(final Path file, final TransferStatus status) {
190+
return ChecksumComputeFactory.get(HashAlgorithm.md5);
191+
}
184192
}

0 commit comments

Comments
 (0)