Simple FTP upload
ActionsAllows you to upload contents of a directory to an FTP server over FTP or FTPS
v1.0.16
LatestTags
(2)With this Action, you can upload folder contents to an FTP server. Overwrites existing files on the server!
This Action uploads files straight to the FTP server, without keeping a sync state. If you need a sync state, consider using SamKirkland/FTP-Deploy-Action instead.
Tested and works on:
ubuntu-latest
windows-latest
macos-latest
uses: dennisameling/ftp-upload-action@v1
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
local_dir: ./ # Should always end with /
server_dir: ./ # Should always end with /
Key | Description | Required | Default |
---|---|---|---|
server | FTP server (hostname or IP) | yes | n/a |
username | FTP username | yes | n/a |
password | FTP password | yes | n/a |
port | FTP port number | no | 21 |
secure | True uses FTPS, while false uses plain FTP. Defaults to true. | no | true |
local_dir | Folder to upload from, must end with trailing slash / | no | ./ |
server_dir | Path to upload to on the server. Must end with trailing slash / | no | ./ |
Simple FTP upload is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.