Azure / azure-storage-android

Microsoft Azure Storage Library for Android
Apache License 2.0
81 stars 47 forks source link

No Progress info while uploading file to azure blob storage. #36

Closed ManuBabu closed 7 years ago

ManuBabu commented 7 years ago

Hi,

I am using azure blob storage in my android app to store files. for uploading the files from android phone to blob storage i am using "CloudBlockBlob" instance Example:- "cloudBlockBlob.uploadFromFile(File_Path,File_Uri)

issue: 1.i am not able to get upload progress on upload action.

  1. if upload fails due to some network issues not able to get the report.
  2. no acknowledge report after upload completed.

please help me with this.

jofri-msft commented 7 years ago

Hi @ManuBabu , as mentioned in #28, there is support in the operation context to setResponseReceivedEventHandler() to notify you every time a put block call is made but that is the extent of upload progress at this time.

I am not sure what you mean by report. Have you enabled client-side logging? https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/client-side-logging-with-the-microsoft-azure-storage-sdk-for-java

ManuBabu commented 7 years ago

this will help http://stackoverflow.com/questions/34616554/merging-multiple-azures-cloud-block-blobs-in-android