Feature request: Limit of simultaneous connections
MrMacStripe opened this issue · 0 comments
MrMacStripe commented
When using shared hosts some limit the amount of simultaneous connections to the server. For example, with the German hoster All-Inkl.com you can get an uncaught error:
FTPError: 530 Sorry, the maximum number of connections (10) for your host are already connected.
at FTPContext._onControlSocketData (/Users/mauricestuffer/WebDev/astro-boilerplate/node_modules/basic-ftp/dist/FtpContext.js:282:39)
at Socket.<anonymous> (/Users/mauricestuffer/WebDev/astro-boilerplate/node_modules/basic-ftp/dist/FtpContext.js:123:44)
at Socket.emit (node:events:527:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:293:11)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
code: 530
}
A way to limit the connections / queue the uploads would fix this.