Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


First Trails and Errors

Type Definitions from C3 Docs (7.19.1)

...

Yifang's test image: cat image URL


Call with Armaan:

Repo location for IDS output: https://github.com/c3aidti/devops-ids/tree/feature/yifang/devops/yifang

Code Block
>>  Client.uploadLocalClientFiles('/Users/armaanbutt/Downloads/cat1.jpg','azure://dev-dti/dl/yifang/featureyifang/images/inbox/cat.jpg')
>> c3Grid(FileSourceCollection.fetch())
>> FileSourceCollection.get('images')
>> var fsc = FileSourceCollection.get('images')
>> c3Grid(fsc.listFiles())

Post: https://community.c3.ai/t/curl-to-download-datafile-from-s3-to-local-drive/1105

All those above are:

  1. how we can upload files from local computer to C3 file storage using console
  2. how we can access directly to the image file in C3 file storage using URL

Path of Azure blob file in C3 Platform: 

Code Block
https://<tag>-<tenant>.<space>.ai/file/1/<tenant>/<tag>/azure://dev-dti/dl/<tenant>/<tag>/images/inbox/<filename>