Ali
Ali

Reputation: 21

True Vault blob store

i am working on true vault blob store. truevault is complete working fine but creating problem in uploading and downloading pdf or any other file. i download the source code from Github i cannot view any message or file name. if any idea about true vault or any one worked on this api kindly help me. thanx

// blobs

$response = $blobs->upload("input_file_1.bin");

$blobId = $response["blob_id"];

$blobs->upload("input_file_2.bin", $blobId); // replace existing

$blobs->download($blobId, "output_file.bin");

Upvotes: 0

Views: 361

Answers (1)

Marek Vavrečan
Marek Vavrečan

Reputation: 126

first parameter in upload method is local file path, same for second parameter in download method. I will add better explanation to the documentation.

Upvotes: 1

Related Questions