A Node.js package to help with deploying code. Ftp a folder from your local disk to a remote ftp destination. Does not delete from destination directory.
Version 2.0.0 is an almost complete re-write to use promises and promise-ftp instead of jsftp. The one breaking change is listed in the notes of Usage section.
Installation
Usage
I'm trying to install git-ftp onto a windows 7 box. I'm currently developing code, committing to a git repo from my local machine, I then have to ftp the changes across to a dev server. GitFTP-Deploy provides dead-simple FTP deployments for your smaller projects. While working with smaller sites you sometimes need a convenient way of deploying to a shared host where you don’t have access to SSH. The site is maybe a presentation for a company and does not receive regular updates. Follow this project on twitter @gitftp. Deploy with git-ftp and GitHub Actions. Deploy with git-ftp and Bitbucket Pipelines (video tutorial). Windows and OS X: I am very limited in testing on Windows and OS X. Thanks for helping me out fixing bugs on these platforms. It would be useful to utilize two branches, one for staging deployment (branch name: staging) and one for production deployment (branch name: master). Once we push to staging branch, the code is deployed to the staging server and correspondingly with the production.
The most basic usage:
Note:
- in version 2 the config file expects a field of
user
rather thanusername
in 1.x. - The config file is passed as-is to Promise-FTP.
- I create a file - e.g. deploy.js - in the root of my source code and add a script to its
package.json
so that I cannpm run deploy
.
- You can use callback instead of promise.
Configuration include and exclude
These are lists of minimatch globs. ftp-deploy works by checking for each file in your sourece directory, whether it is included by one of the include patterns and whether it is NOT excluded by one of the exclude patterns. In other words:
include
: all files that match will be uploaded. Note that a[ ]
matches nothingexclude
: if a file matches the include pattern a subset may nonetheless be excluded
Events
![Gitftp Gitftp](https://img.magimg.com/uploads/gitftp-deploy.jpg)
Gitftp Deploy 2 7 14
ftp-deploy reports to clients using events. To get the output you need to implement watchers for 'uploading', 'uploaded' and 'log':
Testing
A script to run a simple ftp server (using ftp-srv) is included, together with a test directory.
Gitftp Deploy 2 7 1941
To use open a console to run the ftp server:
and then in another console run the tests:
ToDo
- re-enable continueOnError
- update newer files only (PR welcome)
Current Tags
- 2.3.8 .. latest (12 days ago)
40 Versions
- 2.3.8 .. 12 days ago
- 2.3.7 .. 7 months ago
- 2.3.6 .. a year ago
- 2.3.5 .. a year ago
- 2.3.4 .. a year ago
- 2.3.3 .. 2 years ago
- 2.3.2 .. 2 years ago
- 2.3.1 .. 2 years ago
- 2.3.0 .. 2 years ago
- 2.2.1 .. 2 years ago
- 2.2.0 .. 2 years ago
- 2.1.4 .. 2 years ago
- 2.1.3 .. 2 years ago
- 2.1.2 .. 2 years ago
- 2.1.1 .. 2 years ago
- 2.1.0 .. 2 years ago
- 2.0.5 .. 2 years ago
- 2.0.4 .. 2 years ago
- 2.0.3 .. 2 years ago
- 2.0.2 .. 2 years ago
- 2.0.1 .. 2 years ago
- 2.0.0 .. 2 years ago
- 1.2.2 .. 3 years ago
- 1.2.1 .. 3 years ago
- 1.2.0 .. 4 years ago
- 1.1.0 .. 5 years ago
- 1.0.0 .. 6 years ago
- 0.7.0 .. 7 years ago
- 0.6.0 .. 7 years ago
- 0.5.1 .. 7 years ago
- 0.5.0 .. 7 years ago
- 0.4.1 .. 7 years ago
- 0.4.0 .. 7 years ago
- 0.3.1 .. 7 years ago
- 0.3.0 .. 7 years ago
- 0.2.2 .. 7 years ago
- 0.2.1 .. 7 years ago
- 0.2.0 .. 7 years ago
- 0.1.1 .. 7 years ago
- 0.1.0 .. 7 years ago
GitFTP-Deploy 2.6.2 | Mac OS X | 20 MB.
GitFTP-Deploy provides simple FTP implementations for small projects. By working with smaller sites, sometimes you need a convenient way to implement it on a shared host where no access to SSH. The site is perhaps a presentation for a company and receives regular updates.
Gitftp Deploy 2 7 12
Keep your repositories for you
is not necessary to load their repositories to an external service like GitHub BitBucket or to implement. You have complete control over the repositories and need not worry if an external service is down.
is not necessary to load their repositories to an external service like GitHub BitBucket or to implement. You have complete control over the repositories and need not worry if an external service is down.
Gitftp Deploy 2 7 13
Agnostic
Snagit 4 1 9 – screen capture utility windows. Works with all types of documents without special setting, other than your Mac.
Snagit 4 1 9 – screen capture utility windows. Works with all types of documents without special setting, other than your Mac.
No external libraries
Installation with a single click of the application. No need to go to the deepest end of the terminal and compile dependencies. GitFTP-Deploy is a native application performance for MacOSX, based on standard industry tools.
Installation with a single click of the application. No need to go to the deepest end of the terminal and compile dependencies. GitFTP-Deploy is a native application performance for MacOSX, based on standard industry tools.
Insurance
If you are performing manual deployment, how easy it is to forget to upload a file? Gitftp accepts implementations and say goodbye to your FTP client. This is the implementation tool for git and shared hosts in 2017.
If you are performing manual deployment, how easy it is to forget to upload a file? Gitftp accepts implementations and say goodbye to your FTP client. This is the implementation tool for git and shared hosts in 2017.
Implementation with one click
Looking for a simple deployment ftp? GitFTP-Deploy is easy to configure and use. No need to remember commands or compiled libraries terminal. A quick and efficient way to send modified to a website via FTP, FTPS or SFTP files.
Looking for a simple deployment ftp? GitFTP-Deploy is easy to configure and use. No need to remember commands or compiled libraries terminal. A quick and efficient way to send modified to a website via FTP, FTPS or SFTP files.