12345 |
- def upload_file_to_blob(upload_file_path, target): #file path - >file path
- blob_client = blob_service_client.get_blob_client(container=container_name, blob=target)
- print("\nUploading to Azure Storage as blob:\n\t" + upload_file_path)
- with open(upload_file_path, "rb") as data:
- blob_client.upload_blob(data)
|