azure-functions-python-worker icon indicating copy to clipboard operation
azure-functions-python-worker copied to clipboard

Can you make a blob triggered azure function app that only binds the filename, not the whole blob?

Open ajay-sk-finarb opened this issue 9 months ago • 2 comments

Is your question related to a specific version? If so, please specify:

No

What binding does your question apply to, if any? (e.g. Blob Trigger, Event Hub Binding, etc) :

Blob Tigger

Question

Can you suggest me way such that, irrespective of size of blob size that triggered the function, I can get the blob name? Currently, whenever I upload a file, say of size 600MB, It fails silently without ever showing up in logs. Please Advise.

ajay-sk-finarb avatar Apr 26 '24 08:04 ajay-sk-finarb

will check and update.

bhagyshricompany avatar May 21 '24 16:05 bhagyshricompany

@gavin-aguiar pls comment and validate.Thanks

bhagyshricompany avatar May 28 '24 14:05 bhagyshricompany

This can be addressed by using SDK type bindings for blob. The BlobTrigger can define a client type, and the client type can be used to access the blob name even if the blob is large.

Please see this documentation for more information:

hallvictoria avatar Aug 08 '24 18:08 hallvictoria