evanplaice / node-ftpsync

Intelligent file syncronization over FTP
http://evanplaice.github.io/node-ftpsync
MIT License
74 stars 21 forks source link

fixed error #4

Closed chosungmin closed 10 years ago

chosungmin commented 10 years ago

fixed : syntax error, remote create directory error

mauvm commented 10 years ago

+1

When I run ftpsync it keeps throwing:

/usr/local/lib/node_modules/ftpsync/lib/ftpsync.js:218
          sync.info('MKDIRs complete.');
               ^
TypeError: Object #<Object> has no method 'info'
    at /usr/local/lib/node_modules/ftpsync/lib/ftpsync.js:218:16
    at /usr/local/lib/node_modules/ftpsync/node_modules/async/lib/async.js:254:17
    at /usr/local/lib/node_modules/ftpsync/node_modules/async/lib/async.js:203:33
    at /usr/local/lib/node_modules/ftpsync/node_modules/async/lib/async.js:251:21
    at Array.1 (/usr/local/lib/node_modules/ftpsync/lib/ftpsync.js:437:7)
    at Ftp.parse (/usr/local/lib/node_modules/ftpsync/node_modules/jsftp/lib/jsftp.js:249:13)
    at Ftp.parseResponse (/usr/local/lib/node_modules/ftpsync/node_modules/jsftp/lib/jsftp.js:161:8)
    at Stream.<anonymous> (/usr/local/lib/node_modules/ftpsync/node_modules/jsftp/lib/jsftp.js:132:24)
    at Stream.EventEmitter.emit (events.js:95:17)
    at ResponseParser.reemit (/usr/local/lib/node_modules/ftpsync/node_modules/jsftp/node_modules/event-stream/node_modules/duplexer/index.js:70:25)

So please merge this PR. :)