Uploading Assets to a Remote Server
Last updated
Last updated
Assets that are uploaded through the File Upload control can be then be uploaded to a remote server or other file repositories through the HTTP Request data operation.
When using the HTTP request data operation to upload files, there are a few things you can do depending on the system's requirements.
If the system requires to pass a BASE64 encoded asset, use the Download Encoded Asset data operation.
The HTTP Request data operation supports the multipart/form-data
content type, which when you make the request to the system with the asset, will send the binary data for the asset instead of the URL.
Furthermore, if the file or asset needs to be encoded, there are some Airscript functions that may be applicable, depending on the system.