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
{{ message }}
Repository navigation
rmdir (recursive) fails with unicode chacaters #276
Now because of failures in other systems we have a test directory called "スーパーテストディレクトリ". So when trying to delete "Models\スーパーテストディレクトリ" it failes with
Error: [...]/Models/⌂⌂⌂⌂⌂⌂⌂⌂⌂⌂⌂⌂⌂: No such file or directory.
at makeError ([...]\node_modules\ftp\lib\connection.js:1067:13)
at Parser.<anonymous> ([...]\node_modules\ftp\lib\connection.js:113:25)
at Parser.emit (node:events:369:20)
at Parser._write ([...]\node_modules\ftp\lib\parser.js:59:10)
at writeOrBuffer (node:internal/streams/writable:395:12)
at Parser.Writable.write (node:internal/streams/writable:340:10)
at Socket.ondata ([...]\node_modules\ftp\lib\connection.js:273:20)
at Socket.emit (node:events:369:20)
at addChunk (node:internal/streams/readable:313:12)
at readableAddChunk (node:internal/streams/readable:288:9) {
code: 550
}
Is there anyway to make node-ftp understand unicode or can this be a FTP server config issue?
Now because of failures in other systems we have a test directory called "スーパーテストディレクトリ". So when trying to delete "Models\スーパーテストディレクトリ" it failes with
Error: [...]/Models/⌂⌂⌂⌂⌂⌂⌂⌂⌂⌂⌂⌂⌂: No such file or directory.
at makeError ([...]\node_modules\ftp\lib\connection.js:1067:13)
at Parser.<anonymous> ([...]\node_modules\ftp\lib\connection.js:113:25)
at Parser.emit (node:events:369:20)
at Parser._write ([...]\node_modules\ftp\lib\parser.js:59:10)
at writeOrBuffer (node:internal/streams/writable:395:12)
at Parser.Writable.write (node:internal/streams/writable:340:10)
at Socket.ondata ([...]\node_modules\ftp\lib\connection.js:273:20)
at Socket.emit (node:events:369:20)
at addChunk (node:internal/streams/readable:313:12)
at readableAddChunk (node:internal/streams/readable:288:9) {
code: 550
}
Is there anyway to make node-ftp understand unicode or can this be a FTP server config issue?
Activity
4lirexa commentedon May 28, 2023
try this https://www.npmjs.com/package/@icetee/ftp