Skip to content

Instantly share code, notes, and snippets.

View ashwinraghav's full-sized avatar

Ashwin Raghav ashwinraghav

View GitHub Profile
@samcday
samcday / ftp_sync.coffee
Created January 21, 2012 12:38
Easy-mode dev work to remote server!
require "sugar"
async = require "async"
fs = require "fs"
path = require "path"
child_process = require "child_process"
FTPClient = require "./ftp"
[watchPath, ftpHost, ftpUser, ftpPass, ftpPath] = process.argv.from 2
conn = new FTPClient