https://github.com/ocombe/ftp-push
A CLI program to push local files & folders to a remote FTP
https://github.com/ocombe/ftp-push
Last synced: 8 days ago
JSON representation
A CLI program to push local files & folders to a remote FTP
- Host: GitHub
- URL: https://github.com/ocombe/ftp-push
- Owner: ocombe
- Created: 2013-08-04T18:07:45.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-11-25T15:38:02.000Z (over 11 years ago)
- Last Synced: 2025-02-25T06:43:23.117Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 168 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ftp-push
========
A CLI program to push local files & folders to a remote FTP
# Installation & usage :
1. Download and install [nodeJS](http://nodejs.org/download/).
2. Go to the ftp-push folder and launch npm to download and compile the modules for your environment :
```npm install```
3. Use the program with a command line :
```sh
node app.js -pr -h host.com -u UserName -w Passwd -s "C:\FileOrFolder" -d "/home/RemoteFolder"
```
Options:
```
-h, --help output usage information
-V, --version output the version number
-h, --host [host] Host
-o, --port [port] Port
-u, --user [user] User
-w, --password [password] Password
-p, --put Put
-s, --source [file] The source file/folder
-d, --destination [folder] The destination folder
-r, --recursive Recursive
-c, --clean Delete local file/folder after transfer
```