mscdex / node-ftp

An FTP client module for node.js
MIT License
1.13k stars 246 forks source link

USER Command protection level denied for policy reasons for ftp node module #221

Open kadir-calvid opened 6 years ago

kadir-calvid commented 6 years ago

While trying to connect ftp server to upload file got the following error: -

Error: USER Command protection level denied for policy reasons. 0|app | at makeError (/opt/***/node_modules/ftp/lib/connection.js:1067:13) 0|app | at Parser. (/opt/bigfin-web-services/node_modules/ftp/lib/connection.js:113:25) 0|app | at emitTwo (events.js:106:13) 0|app | at Parser.emit (events.js:191:7) 0|app | at Parser._write (/opt/**/node_modules/ftp/lib/parser.js:59:10) 0|app | at doWrite (_stream_writable.js:334:12) 0|app | at writeOrBuffer (_stream_writable.js:320:5) 0|app | at Parser.Writable.write (_stream_writable.js:247:11) 0|app | at Socket.ondata (/opt/**/node_modules/ftp/lib/connection.js:273:20) 0|app | at emitOne (events.js:96:13) 0|app | at Socket.emit (events.js:188:7) 0|app | at readableAddChunk (_stream_readable.js:176:18) 0|app | at Socket.Readable.push (_stream_readable.js:134:10) 0|app | at TCP.onread (net.js:551:20)

Any help or solution on this would be appreciated

Thanks