I am using the put command to place a file in a specified directory.
Failing Filename: 3 - data - 12-12-2018.csv
Passing Filename: test_3 - data - 12-12-2018.csv
Error Message:
{ Error: Filename invalid
at makeError (<PROJECT DIR>\node_modules\ftp\lib\connection.js:1067:13)
at Parser. (<PROJECT DIR>\node_modules\ftp\lib\connection.js:113:25)
at emitTwo (events.js:126:13)
at Parser.emit (events.js:214:7)
at Parser._write (<PROJECT DIR>\node_modules\ftp\lib\parser.js:59:10)
at doWrite (_stream_writable.js:387:12)
at writeOrBuffer (_stream_writable.js:373:5)
at Parser.Writable.write (_stream_writable.js:290:11)
at Socket.ondata (<PROJECT DIR>\node_modules\ftp\lib\connection.js:273:20)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:594:20) code: 550 } } reason: { Error: Filename invalid
at makeError (<PROJECT DIR>\node_modules\ftp\lib\connection.js:1067:13)
at Parser. (<PROJECT DIR>\node_modules\ftp\lib\connection.js:113:25)
at emitTwo (events.js:126:13)
at Parser.emit (events.js:214:7)
at Parser._write (<PROJECT DIR>\node_modules\ftp\lib\parser.js:59:10)
at doWrite (_stream_writable.js:387:12)
at writeOrBuffer (_stream_writable.js:373:5)
at Parser.Writable.write (_stream_writable.js:290:11)
at Socket.ondata (<PROJECT DIR>\node_modules\ftp\lib\connection.js:273:20)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:594:20) code: 550 }