Describe the bug
When i upload large file, i have problem with timeout, file upload full, but not resolving and i'm gettings an error Socket Timeout..
Example code
await client.uploadFromDir("videos/" + dirName, "videos/" + dirName).then(() => { console.log('Resolved') resolve() }).catch((err) => { console.log('Rejected') client.close() reject(err) })
Console output
Error: Timeout (control socket)
at TLSSocket. (C:\croper\node_modules\basic-ftp\dist\FtpContext.js:310:58)
at Object.onceWrapper (events.js:308:28)
at TLSSocket.emit (events.js:219:5)
at TLSSocket.Socket._onTimeout (net.js:476:8)
at listOnTimeout (internal/timers.js:536:17)
at processTimers (internal/timers.js:480:7)
Which version of Node.js are you using?
12.13.0
Describe the bug
When i upload large file, i have problem with timeout, file upload full, but not resolving and i'm gettings an error Socket Timeout..
Example code
await client.uploadFromDir("videos/" + dirName, "videos/" + dirName).then(() => { console.log('Resolved') resolve() }).catch((err) => { console.log('Rejected') client.close() reject(err) })Console output
Error: Timeout (control socket)
at TLSSocket. (C:\croper\node_modules\basic-ftp\dist\FtpContext.js:310:58)
at Object.onceWrapper (events.js:308:28)
at TLSSocket.emit (events.js:219:5)
at TLSSocket.Socket._onTimeout (net.js:476:8)
at listOnTimeout (internal/timers.js:536:17)
at processTimers (internal/timers.js:480:7)
Which version of Node.js are you using?
12.13.0