True Vault blob store

366 Views Asked by At

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");
1

There are 1 best solutions below

1
On

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