# Sending Assets to Remote Servers

Assets that are uploaded through the [File Upload](../../web-controls/file-upload-web-control) control can be then be uploaded to a remote server or other file repositories through the [HTTP Request](../../data-operations/http-request-data-operation) 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.

## Download Encoded Asset

If the system requires to pass a BASE64 encoded asset, use the [Download Encoded Asset](../../data-operations/download-encoded-asset-data-operation) data operation. This has a 1MB size limit.

![organizing info](https://2093598723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2DgLBPTrwoEhWaU24LL%2Fuploads%2Fgit-blob-d500fab49338a6d2d6393ed9a5c249b43dd4dda2%2Fsending-assets-to-remote-servers-v180-0.png?alt=media)

## Multipart/form-data

The [HTTP Request](../../data-operations/http-request-data-operation) data operation supports the `multipart/form-data` content type, which when you make a request to the system with the `asset_url` as a form parameter, it will automatically send the binary data for the asset instead of the URL. Also, if the `asset` is attached as a part of the body of the HTTP request, the asset is encoded automatically.

![](https://2093598723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2DgLBPTrwoEhWaU24LL%2Fuploads%2Fgit-blob-fb8cd2123990940d38daddabe92a0d6bcfd4a0cc%2Fsending-assets-to-remote-servers-v180-1.png?alt=media)

## Encoding

Furthermore, if the file or asset needs to be encoded, there are some Airscript functions that may be applicable, depending on the system.

* [BASE](../../airscript-expressions/encoding-functions/base)
* [BASE64\_DECODE](../../airscript-expressions/encoding-functions/base64_decode)
* [BASE64\_ENCODE](../../airscript-expressions/encoding-functions/base64_encode)
* [HMAC\_MD5](../../airscript-expressions/encoding-functions/hmac_md5)
* [HMAC\_MD5](../../airscript-expressions/encoding-functions/hmac_md5)
* [HMAC\_SHA1](../../airscript-expressions/encoding-functions/hmac_sha1)
* [HMAC\_SHA256](../../airscript-expressions/encoding-functions/hmac_sha256)
* [MD5](../../airscript-expressions/encoding-functions/md5)
* [SHA1](../../airscript-expressions/encoding-functions/sha1)
* [SHA256](../../airscript-expressions/encoding-functions/sha256)
* [URL\_ENCODE](../../airscript-expressions/encoding-functions/url_encode)
* [URL\_DECODE](../../airscript-expressions/encoding-functions/url_decode)
