{"id":30285693,"url":"https://github.com/modern-dev/ftp-mirror","last_synced_at":"2025-08-16T20:07:57.425Z","repository":{"id":65160948,"uuid":"559371930","full_name":"modern-dev/ftp-mirror","owner":"modern-dev","description":"🚀 Syncs a local folder with a remote folder over FTP using GitHub Workflow.","archived":false,"fork":false,"pushed_at":"2022-10-30T01:54:34.000Z","size":9,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-12T11:45:08.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modern-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-29T22:49:10.000Z","updated_at":"2025-07-07T13:55:37.000Z","dependencies_parsed_at":"2023-01-13T15:44:13.378Z","dependency_job_id":null,"html_url":"https://github.com/modern-dev/ftp-mirror","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"20d4553e92dbb6dea1b9f26112f1dbdc1a499fff"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/modern-dev/ftp-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modern-dev%2Fftp-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modern-dev%2Fftp-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modern-dev%2Fftp-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modern-dev%2Fftp-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modern-dev","download_url":"https://codeload.github.com/modern-dev/ftp-mirror/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modern-dev%2Fftp-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270763461,"owners_count":24641026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-16T20:07:56.834Z","updated_at":"2025-08-16T20:07:57.406Z","avatar_url":"https://github.com/modern-dev.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"🚀 FTP Mirror\n===================================\n\nSyncs a local folder with a remote folder over FTP using GitHub Workflow.\n\n## :clipboard: Usage\n\nCreate custom workflow for your project as per [this doc][1].\nRead more about Encrypted Secrets [here][2].\n\n\n```yaml\nname: 🚀 Deploy\non:\n  push:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      # Here is the deployment action\n      - name: Upload from output to a remote server via FTP\n        uses: modern-dev/ftp-mirror@v2\n        with:\n          server: ${{ secrets.FTP_SERVER }}\n          user: ${{ secrets.FTP_USERNAME }}\n          password: ${{ secrets.FTP_PASSWORD }}\n          local_dir: \"./output\"\n          remote_dir: \"./http\"\n          delete: \"false\"\n          exlude: \"data/ cache/\"\n```\n\n## :wrench: Settings\n\n\nOption | Description | Required | Default | Example\n---    | ---         | ---      | ---     | ---\nserver | FTP Server. | Yes | N/A | ftp.myserver.com\nuser | FTP Username. | Yes | N/A | admin@myserver.com\npassword | FTP Password. | Yes | N/A | mystrongpassword\nlocal_dir | Local directory. | No | \"./\" | \"./public_html\"\nremote_dir | Remote directory. | No | \"./\" | \"/www/user/home\"\ndelete | Delete all the files inside of the remote directory before the upload process. | No | false | N/A\nexclude | Exclude matching files. | No | \"\" | \"data/ cache/\"\nexclude_glob | Exclude matching files using glob pattern. | No | \"\" | \"*.bak\"\nmax_retries | Times that the `lftp` will be executed if an error occurred. | No | 10 | N/A\nno_symlinks | Do not create symbolic links. | No | true | N/A\nftp_ssl_allow | FTP - Allow SSL encryption | No | false | N/A\nftp_use_feat | FTP - FEAT: Determining what extended features the FTP server supports. | No | false | N/A\nftp_nop_interval | FTP - Delay in seconds between NOOP commands when downloading tail of a file. | No | 2 | N/A\nnet_max_retries | NET - Maximum number of operation without success.\u003cbr\u003e 0 unlimited.\u003cbr\u003e 1 no retries. | No | 1 | N/A\nnet_persist_retries | NET - Ignore hard errors.\u003cbr\u003e When reply 5xx errors or there is too many users. | No | 5 | N/A\nnet_timeout | NET - Sets the network protocol timeout. | No | 15s | N/A\ndns_max_retries | DNS - 0 no limit trying to lookup an address otherwise try only this number of times. | No | 8 | N/A\ndns_fatal_timeout | DNS - Time for DNS queries.\u003cbr\u003e Set to \"never\" to disable. | No | 10s | N/A\n\nMore information in the official site for [lftp - Manual pages][3]\n\n## :green_book: License\n\n[Licensed under the MIT license.](https://github.com/modern-dev/ftp-mirror/blob/master/LICENSE)\n\nCopyright (c) 2022 Bohdan Shtepan\n\n---\n\n\u003e [modern-dev.com](https://modern-dev.com) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub: [@virtyaluk](https://github.com/virtyaluk) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter: [@virtyaluk](https://twitter.com/virtyaluk)\n\n[1]: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions\n[2]: https://docs.github.com/en/actions/security-guides/encrypted-secrets\n[3]: https://linux.die.net/man/1/lftp","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodern-dev%2Fftp-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodern-dev%2Fftp-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodern-dev%2Fftp-mirror/lists"}