vinyl-ftp
vinyl-ftp copied to clipboard
Specify connection's active or passive mode?
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.
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!
That's fine. Better to know, anyway.
Thank you!