vinyl-ftp icon indicating copy to clipboard operation
vinyl-ftp copied to clipboard

Specify connection's active or passive mode?

Open ebsen opened this issue 10 years ago • 2 comments

Hello. I'm looking to use this to deploy to a server (that I don't control) with a slightly finicky connection. Is there a way to specify Active or Passive mode?

There's conn.mode( remoteFolder, mode[, options], but that seems to do something else. Some GUI clients provide an Active/Passive toggle but, to my knowledge, the ftp command doesn't, so maybe I'm out of luck.

ebsen avatar Apr 09 '15 14:04 ebsen

Unfortunately, no, because the mscdex/node-ftp dependency does not support that (yet). See this TODO: https://github.com/mscdex/node-ftp/blob/67680c22caaa8621969d6a23c84266eb779b8fdb/TODO - sorry!

morris avatar Apr 11 '15 10:04 morris

That's fine. Better to know, anyway.

Thank you!

ebsen avatar Apr 13 '15 15:04 ebsen