mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-08-14 02:27:23 -07:00
Update README.md
This commit is contained in:
parent
0b63f71222
commit
87d319e4f4
1 changed files with 6 additions and 1 deletions
|
@ -26,10 +26,15 @@ $path_to_file = "folder/my-image.png";
|
|||
$optional_file_name = "image.png";
|
||||
|
||||
$space->uploadFile($path_to_file, $optional_file_name);
|
||||
|
||||
$download_file = "image.png";
|
||||
$save_as = "/folder/downloaded-image.png";
|
||||
|
||||
$space->downloadFile($download_file, $save_as);
|
||||
```
|
||||
All available options:
|
||||
###### uploadFile( REQUIRED PATH TO FILE, OPTIONAL NAME TO SAVE FILE AS);
|
||||
|
||||
###### downloadFile( REQUIRED FILE TO DOWNLOAD, REQUIRED LOCATION TO SAVE FILE);
|
||||
|
||||
|
||||
### Creating Temporary Links
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue