You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/Functions.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -449,13 +449,26 @@ Note:
449
449
***
450
450
451
451
### downloadFile <aname="downloadFile"></a>
452
+
This function is used to download a file from an external URL.
452
453
#### parameter
453
-
1. URL of the file to be downloaded.
454
-
2. Name of file.
455
-
3. (Optional) Downloads file to a given directory relative to workspace. Directory is created, if its not existing.
454
+
This function consist of 3 parameters.
455
+
1. First parameter:
456
+
-**Required**
457
+
-**Type**- String
458
+
-**Description**- URL of the file to be downloaded.
459
+
2. Second Parameter:
460
+
-**Required**
461
+
-**Type**- String
462
+
-**Description**- Name of file
463
+
3. Third parameter:
464
+
-**Optional**
465
+
-**Type**- String
466
+
-**Description**- The path where the file should be stored. It can be used if you want to load the file into a different folder and not into the current Workspace. If folder does not exists, it will be created.
0 commit comments