mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-05 20:41:31 -07:00
Added move example to readme
This commit is contained in:
parent
c52d22a70e
commit
6bc100cf90
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ $file2url = $file2->getSignedURL("2 hours");
|
|||
// Make a copy
|
||||
$file3 = $file2->copy('remote-file-3.txt');
|
||||
|
||||
// Move or rename a file
|
||||
$file2->move('new-filename.txt')
|
||||
|
||||
// Make a file public and get the URL
|
||||
$file3->makePublic();
|
||||
$file3url = $file3->getURL();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue