https://github.com/unlight/git-ftp
https://github.com/unlight/git-ftp
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/unlight/git-ftp
- Owner: unlight
- Created: 2012-07-13T08:38:26.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-07-31T08:14:43.000Z (almost 13 years ago)
- Last Synced: 2024-12-27T01:25:54.076Z (over 1 year ago)
- Language: PHP
- Size: 67.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
DESCRIPTION
-----------
git-ftp script allows upload files and folders files to your web server.
Script written in PHP.
USAGE
-----
php -q git-ftp.php -uUSER -pPASSWORD -l=FTP_URL [-r=REPOSITORY] [-s] [-a] [-d]
options:
-u username for ftp account (login)
-p password for ftp account
-l (lower L) ftp host and path for uploaded files
-r path to git repository (default: current working directory)
-s silent mode (script doesn't stop if error occurs)
-a active mode (default: passive mode)
-d upload if working directory is dirty (files changed, but not committed)
EXAMPLES
--------
1. php -q git-ftp.php -uuser8 -p12345 -l="ftp://109.95.210.106/www/htdocs" -r="/home/dev/git-project"
2. php -q git-ftp.php -u="user9" -p="pass" -l="ftp://example.com/www/htdocs" -s -a
HOME
----
https://github.com/unlight/git-ftp