From 87d319e4f448af79265ee799424d606c54f03701 Mon Sep 17 00:00:00 2001 From: Devang Srivastava Date: Thu, 7 Dec 2017 22:06:26 +0530 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 280e457..58a8a66 100644 --- a/README.md +++ b/README.md @@ -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