Update README.md

This commit is contained in:
Devang Srivastava 2017-12-07 22:06:26 +05:30 committed by GitHub
commit 87d319e4f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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