Skip to main content

FTP Upload

Appcircle's FTP Upload (File Transfer Protocol) integration lets you easily upload any file generated within the pipeline to your chosen FTP server.

Prerequisites

info

This step has no prerequisites but must follow the artifact production step. For example, as the screenshot below demonstrates, use it right after the Xcodebuild for Devices step. This setup ensures the IPA file produced in the pipeline is sent to any FTP server.

caution

Note that to send a file to an FTP server, the file must be generated within the pipeline. Therefore, deploy this step only after the file production step. Failing to do so means the FTP Upload step cannot find the file, resulting in an error.

Input Variables

Below is a list of input variables that can be used with this component, with a description of each.

warning

Avoid hard-coding sensitive information, like tokens and API keys directly into the step parameters.

We recommend using Environment Variables groups for such sensitive variables.

Variable NameDescriptionStatus
$AC_FTP_HOSTHostname of the FTP server. For example: ftp.example.com:21Required
$AC_FTP_USERFTP server username.Required
$AC_FTP_PASSFTP server password.Required
$AC_FTP_SOURCESource file or path to upload. For example: the file path can be set to $AC_OUTPUT_DIR/Myapp.ipa. Ensure that the file name is correct.Required
$AC_FTP_TARGETThe target path is on the FTP server.Required

To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-ftp-upload-component