{"id":19032728,"url":"https://github.com/joutvhu/ftp-transfer","last_synced_at":"2025-04-23T16:41:32.541Z","repository":{"id":183268357,"uuid":"668141820","full_name":"joutvhu/ftp-transfer","owner":"joutvhu","description":"GitHub Action to transfer files to and from a computer running an FTP server service.","archived":false,"fork":false,"pushed_at":"2023-07-28T06:56:46.000Z","size":359,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T02:31:08.426Z","etag":null,"topics":["actions","ftp","github","github-actions","transfer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/joutvhu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-19T05:59:31.000Z","updated_at":"2025-02-28T17:57:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"300523bc-674b-44e5-a7d1-3d61a4f855cd","html_url":"https://github.com/joutvhu/ftp-transfer","commit_stats":null,"previous_names":["joutvhu/ftp-transfer"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joutvhu%2Fftp-transfer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joutvhu%2Fftp-transfer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joutvhu%2Fftp-transfer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joutvhu%2Fftp-transfer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joutvhu","download_url":"https://codeload.github.com/joutvhu/ftp-transfer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250472033,"owners_count":21436069,"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","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":["actions","ftp","github","github-actions","transfer"],"created_at":"2024-11-08T21:30:44.929Z","updated_at":"2025-04-23T16:41:32.536Z","avatar_url":"https://github.com/joutvhu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FTP Transfer\n\nGitHub Action to transfer files to and from a computer running an FTP server service.\n\n## Usage\n\nSee [action.yml](action.yml)\n\n## Inputs\n\n- `host`: The hostname or IP address of the FTP server. Required\n- `port`: The port of the FTP server. Default: `21`.\n- `username`: Username for authentication. Default: `anonymous`\n- `password`: Password for authentication. Default: `anonymous@`\n- `connTimeout`: How long (in milliseconds) to wait for the control connection to be established. Default: `10000`\n- `pasvTimeout`: How long (in milliseconds) to wait for a PASV data connection to be established. Default: `10000`\n- `keepalive`: How often (in milliseconds) to send a \"dummy\" (NOOP) command to keep the connection alive. Default: `10000`\n- `commands`: The ftp commands. Required\n\n## Commands\n\n- `ls [path]`: Retrieves the directory listing of `path`. `path` defaults to the current working directory.\n- `get \u003cremote_path\u003e \u003clocal_path\u003e`:  Retrieves a file or directory at `remote_path` from the server.\n- `put \u003clocal_path\u003e \u003cremote_path\u003e`: Sends file or directory to the server to be stored as `remote_path`.\n- `append \u003clocal_path\u003e \u003cremote_path\u003e`: Same as `put`, except if file already exists, it will be appended to instead of overwritten.\n- `rename \u003cold_path\u003e \u003cnew_path\u003e`: Renames `old_path` to `new_path` on the server.\n- `delete \u003cpath\u003e`:  Deletes a file or directory on the server.\n- `cd \u003cpath\u003e`: Changes the current working directory to `path`.\n- `pwd \u003cpath\u003e`: Retrieves the current working directory.\n- `mkdir \u003cpath\u003e`: Creates a new directory `path` on the server.\n- `rmdir \u003cpath\u003e`: Removes a directory `path` on the server.\n\n## Example\n\n```yaml\nsteps:\n  - uses: joutvhu/ftp-transfer@v1\n    with:\n      host: localhost\n      port: 21\n      username: joutvhu\n      password: ${{ secrets.FTP_PASSWORD }}\n      commands: |\n        put ./build ./build.new\n        rename ./build ./build.old\n        rename ./build.new ./build\n        delete ./build.old\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoutvhu%2Fftp-transfer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoutvhu%2Fftp-transfer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoutvhu%2Fftp-transfer/lists"}