How does PHPSDK upload all files in the entire folder inside instead of the folder itself?
$key1 = “file_name1”;
How should this function be modified?
It’s very simple. I don’t know where the phpsdk generated tOKen when you said key1 was uploaded by traversing the folder directory. when generating token, the upload strategy was built like “bucket: file name”, so traversing the file generation token under the folder to upload ok is very simple