{"id":36975688,"url":"https://github.com/sagebind/robo-ftp","last_synced_at":"2026-01-13T22:05:48.845Z","repository":{"id":26680130,"uuid":"30136849","full_name":"sagebind/robo-ftp","owner":"sagebind","description":"[ABANDONED] FTP(S) task for Robo","archived":true,"fork":false,"pushed_at":"2015-06-16T15:06:47.000Z","size":188,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-18T05:57:23.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/sagebind.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":"2015-02-01T05:01:38.000Z","updated_at":"2023-01-28T20:51:35.000Z","dependencies_parsed_at":"2022-08-17T21:50:19.483Z","dependency_job_id":null,"html_url":"https://github.com/sagebind/robo-ftp","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sagebind/robo-ftp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Frobo-ftp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Frobo-ftp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Frobo-ftp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Frobo-ftp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagebind","download_url":"https://codeload.github.com/sagebind/robo-ftp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagebind%2Frobo-ftp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28402192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-13T22:05:48.204Z","updated_at":"2026-01-13T22:05:48.834Z","avatar_url":"https://github.com/sagebind.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robo FTP Deploy Task\n[![Version](https://img.shields.io/packagist/v/coderstephen/robo-ftp.svg)](https://packagist.org/packages/coderstephen/robo-ftp)\n[![License](https://img.shields.io/packagist/l/coderstephen/robo-ftp.svg)](https://packagist.org/packages/coderstephen/robo-ftp)\n[![Downloads](https://img.shields.io/packagist/dt/coderstephen/robo-ftp.svg)](https://packagist.org/packages/coderstephen/robo-ftp)\n\nA simple task for the [Robo](http://robo.li) task runner for deploying files to a remote server using FTP. Useful for shared hosting servers if you do not have SSH access, or for if you need better platform independence.\n\n## Installation\nAdd the package to your list of dependencies:\n\n```sh\ncomposer require --dev coderstephen/robo-ftp\n```\n\nThis task uses [`dg/ftp-php`](http://packagist.org/packages/dg/ftp-php) for establishing FTP connections, which is a thin wrapper around the [built-in FTP PHP extension](http://php.net/ftp). Most PHP installations are compiled with this extension, so this task should be able to be run just about anywhere with a PHP interpreter.\n\n## Usage\nJust include the `FtpDepoly` trait in your `RoboFile.php` file and run an FTP deploy task using `$this-\u003etaskFtpDeploy()`.\n\n```php\nclass RoboFile extends \\Robo\\Tasks\n{\n    use RoboFtp\\FtpDeploy;\n\n    function deploy()\n    {\n        $ftp = $this-\u003etaskFtpDeploy('host', 'user', 'password')\n            -\u003edir('/')\n            -\u003efrom('.')\n            -\u003eexclude('build')\n            -\u003eexclude('cache')\n            -\u003eskipSizeEqual()\n            -\u003eskipUnmodified()\n            -\u003erun();\n    }\n}\n```\n\n## SSL Support\nThis task supports using FTP over SSL by default. You need the [SSL extension](http://php.net/ssl) for this to work, which isn't always available on Windows. If you want to disable SSL for your task, you can use the `secure()` method:\n\n```php\nclass RoboFile extends \\Robo\\Tasks\n{\n    use RoboFtp\\FtpDeploy;\n\n    function deploy()\n    {\n        $ftp = $this-\u003etaskFtpDeploy('host', 'user', 'password')\n            -\u003edir('wwwroot')\n            -\u003efrom('public')\n            -\u003esecure(false)\n            -\u003erun();\n    }\n}\n```\n\nNote that some Windows servers do not properly support FTP/S either and may error out when uploading files over SSL. Microsoft has made available a hotfix for this bug, but isn't distributed by default. More information [here](http://support.microsoft.com/kb/2888853/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagebind%2Frobo-ftp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagebind%2Frobo-ftp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagebind%2Frobo-ftp/lists"}