0

First of all I am using dropbox sdk (PHP) and successfully upload the file using below code

$result = $dbxClient->uploadFile("/".$name, dbx\WriteMode::add(), $f);

the problem is If the file name is same it automatically append the number (ex. file(1).jpg). So i can't directly delete file like these

$dbxClient->delete($name);

because now my filename $name is different. So how to delete uploaded file automatically after 7 days. Thank you in advance.

Rushi Jagani
  • 160
  • 2
  • 12

0 Answers0