You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to read a file with spaces on the name, like the following example:
let filePath = 'TEST_FILE 2018-04-02.csv';
FtpClient.get(filePath, (err, socket) => {
if (err) {
console.warn(err);
return;
}
}
I'm receiving the error:
Error: 550 Failed to open file. at Ftp.parse (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/jsftp/lib/jsftp.js:223:11) at Ftp.parseResponse (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/jsftp/lib/jsftp.js:146:8) at Stream.pipeline.on.data (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/jsftp/lib/jsftp.js:112:10) at Stream.emit (events.js:180:13) at ResponseParser.reemit (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/duplexer/index.js:70:25) at ResponseParser.emit (events.js:180:13) at readableAddChunk (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js:195:16) at ResponseParser.Readable.push (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js:162:10) at ResponseParser.Transform.push (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_transform.js:145:32) at ResponseParser.<anonymous> (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/ftp-response-parser/index.js:62:12) {code: 550, stack: Error: 550 Failed to open file. at Ftp.parse (…/node_modules/ftp-response-parser/index.js:62:12), message: 550 Failed to open file.}
There is any way to escape this? Is this the expected behaviour?
The text was updated successfully, but these errors were encountered:
When I try to read a file with spaces on the name, like the following example:
I'm receiving the error:
Error: 550 Failed to open file. at Ftp.parse (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/jsftp/lib/jsftp.js:223:11) at Ftp.parseResponse (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/jsftp/lib/jsftp.js:146:8) at Stream.pipeline.on.data (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/jsftp/lib/jsftp.js:112:10) at Stream.emit (events.js:180:13) at ResponseParser.reemit (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/duplexer/index.js:70:25) at ResponseParser.emit (events.js:180:13) at readableAddChunk (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js:195:16) at ResponseParser.Readable.push (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js:162:10) at ResponseParser.Transform.push (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_transform.js:145:32) at ResponseParser.<anonymous> (/home/coderade/repo/work/rumo/Supervisorio/nodejs_gateway/node_modules/ftp-response-parser/index.js:62:12) {code: 550, stack: Error: 550 Failed to open file. at Ftp.parse (…/node_modules/ftp-response-parser/index.js:62:12), message: 550 Failed to open file.}
There is any way to escape this? Is this the expected behaviour?
The text was updated successfully, but these errors were encountered: