| Tag Link | [HTTP_GetFile] | Category | Utility |
|---|---|---|---|
| Type | Process | Source Available | No |
| Support | Preferred | Version | 6.0 |
| Change | Unchanged | Data Source | Any |
| Output Type | None, Bytes | Security | File Tags |
| Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
[HTTP_GetFile] downloads a named file from a remote HTTP server and creates a local file.
The
If the optional
[HTTP_GetFile:
[HTTP_GetFile:
| Required Parameters | |
|---|---|
| -URL | The URL folder from which the file will be downloaded. |
| -File | The path to the local file to be created. |
| Optional Parameters | |
| -Username | Used to specifiy a username needed to log in to the remote HTTP server. |
| -Password | Used to specifiy a password needed to log in to the remote HTTP server. |
| -Binary | If the |
This tag was updated in Lasso 8 to include the
To download a file from an HTTP server:
The following example downloads a file named download.zip from the URL http://www.example.com/download.zip to the local documents folder.
[HTTP_GetFile:
To download a file from a password-protected HTTP server on a non-default port:
The following example downloads a file named download.zip at http://www.example.com:1024/private/download.zip where a username and password are required to access to the private folder.
[HTTP_GetFile: