Azure / azure-storage-android

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

Upload status #7

Closed tscung closed 8 years ago

tscung commented 9 years ago

Is there anyway to get the upload status. We need to find out if the blob is uploaded successfully,

emgerner-msft commented 9 years ago

Could you clarify your question and maybe provide some sample code? I'm a little unclear on what you're doing right now. The blobs upload synchronously, so when the upload call completes the blob should be uploaded. If you're trying to check simply whether a blob exists on the service, there's an exists() method that should work for that.

tscung commented 9 years ago

I am using the code in the sample and facing the problem that the blob is not uploaded for some reason.

Is there a safe way to check for the uploading completion?

Regards

Tyson

On Tue, Dec 2, 2014 at 6:16 AM, Emily Gerner notifications@github.com wrote:

Could you clarify your question and maybe provide some sample code? I'm a little unclear on what you're doing right now. The blobs upload synchronously, so when the upload call completes the blob should be uploaded. If you're trying to check simply whether a blob exists on the service, there's an exists() method that should work for that.

— Reply to this email directly or view it on GitHub https://github.com/Azure/azure-storage-android/issues/7#issuecomment-65144868 .

emgerner-msft commented 9 years ago

Are you receiving an error? In the sample, we do a try/catch and if an error is caught, print that error. If the blob is not uploaded, you should see an error printed. What is the current output of the program?

Best, Emily

emgerner-msft commented 8 years ago

@tscung Closing as this has been open 2 years now. Feel free to reopen if needed, or open a new issue with additional questions.