2017 © Pedro Peláez
 

library heston

Simple FTP Wrapper with Git Powered

image

heston/heston

Simple FTP Wrapper with Git Powered

  • Thursday, October 3, 2013
  • by glendmaatita
  • Repository
  • 1 Watchers
  • 0 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Heston

Heston is just FTP Wrapper, writter in PHP with Git-Powered inside it. It means Heston really need Git to be installed first in our working project directory before we can use it., (*1)

Requirement

  • PHP >= 5.3.*

Installation

Via Composer, (*2)

{
    "require": {
        "heston/heston": "dev-master"
    }
}

and type this command below to make sure that Heston is ready to use, (*3)

vendor\bin\heston help

Basic Usage

Just specify the URL of the FTP Server, Username - Password, and local directory that contains the files you want to upload. For example, we have a directory called repo in our project directory, looks like, (*4)

- MyProject
  * file_1
  * file_2
  - repo
    * repo_file_1
    * repo file_2

Lets say, the URL of our FTP is ftp://ftp.glendmaatita.com in port 21, username and password are root-secret. So we will run a command like this, (*5)

vendor\bin\heston ftp://root:password@ftp.glendmaatita.com:21 repo/ "Upload file"

The last argument is comment, which is optional, (*6)

If we want to upload entire of MyProject directory, simply change repo/ to dot, like this, (*7)

vendor\bin\heston ftp://root:password@ftp.glendmaatita.com:21 . "Upload file"

The files will upload to directory of the FTP's user and automatically committed by Heston with comment you provide before., (*8)

License

MIT, (*9)

The Versions

03/10 2013

dev-master

9999999-dev

Simple FTP Wrapper with Git Powered

  Sources   Download

MIT

The Requires

 

by Glend Maatita

03/10 2013

v0.5.2

0.5.2.0

Simple FTP Wrapper with Git Powered

  Sources   Download

MIT

The Requires

 

by Glend Maatita

29/09 2013

v0.5.1

0.5.1.0

Simple FTP Wrapper with Git Powered

  Sources   Download

MIT

The Requires

 

by Glend Maatita

21/09 2013

v0.5.0

0.5.0.0

Simple FTP Wrapper with Git Powered

  Sources   Download

MIT

The Requires

 

by Glend Maatita