Skip to content

[BUG] zipFile can't download completely in windows #41427

Open
@YLIU356Volvocars

Description

@YLIU356Volvocars

Describe the bug
A clear and concise description of what the bug is.
zipFile can't download completely in windows

Exception or Stack Trace
Add the exception log and stack trace if available
no error file, can't see what happend, file download more less than upload zip file.
To Reproduce
Steps to reproduce the behavior:

Code Snippet
Add the code snippet that causes the issue.
blobClient.downloadToFile(fileInfoDTO.getFileName())
Expected behavior
A clear and concise description of what you expected to happen.
I want download complete zipFile.
Screenshots
If applicable, add screenshots to help explain your problem.

image

image
in azure , upload file is work ,but download file is not work。

Setup (please complete the following information):

  • OS: [e.g. iOS]
  • IDE: [e.g. IntelliJ]
  • Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)]
  • Java version: [e.g. 8]
  • App Server/Environment: [e.g. Tomcat, WildFly, Azure Function, Apache Spark, Databricks, IDE plugin or anything special]
  • Frameworks: [e.g. Spring Boot, Micronaut, Quarkus, etc]

in docker, springboot project, tomcat,java8

If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

  • verbose dependency tree (mvn dependency:tree -Dverbose)
  • exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.
BlobClient blobClient = BlobHelper.getBlobClient(storageConfig.getContainerName(), storageConfig);
GetFileInfoDTO fileInfoDTO = tcFileUploadService.selectUrlByUid2(uid);
// 下载文件
blobClient.downloadToFile(fileInfoDTO.getFileName());

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [Y ] Bug Description Added
  • [ Y] Repro Steps Added
  • [ Y] Setup information Added

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions