1

I am using srmklive/flysystem-dropbox-v2 package with a Laravel 5.3 installation. My files are getting stored in dropbox however I'm not able to retrieve the shareable link of these dropbox files. Also, I want that the link should be visible to guest users too. Does anyone know how to go about this?

I have tried this, but this results in a file download whereas I need the shareable link for guest users.

$project_report_name = 'testdoc.docx'; //file saved in storage
$dropbox_client = new DropboxClient(env('DROPBOX_TOKEN'));
dd($dropbox_client->getTemporaryLink($project_report_name));
2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.