Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close event is never fired when downloading large files from FTP #261

Open
gv-beemining opened this issue Jan 20, 2020 · 1 comment
Open

Comments

@gv-beemining
Copy link

Hi:

This module works fine with small files but with large files ( > 1 GB) the close event from the stream is never called is there a workaround or a fix to this issue?

         var pgrs = 0;
          stream.on('data', chunk => {
            pgrs += chunk.length;
             console.log(pgrs);
          });
          //never called
          stream.once('close', function() {
          });

Thanks!

@fandi-komek
Copy link

hmm, same with me, having this issue, on version 0.3.10
[connection] > 'ABOR'
[connection] PASV socket connected
[connection] < '225 No transfer to ABOR.\r\n'
[parser] < '225 No transfer to ABOR.\r\n'
[parser] Response: code=225, buffer='No transfer to ABOR.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants