Skip to content

Error occurred when running in Electron. #284

@thesunfei

Description

@thesunfei

Here are the codes:

const Client = require('ftp');
let c = new Client();
c.on('ready', function () {
    c.list(function (err, list) {
        if (err) throw err;
        console.log(list);
    });
});
c.connect({
    host: 'test.com',
    user: 'user',
    password: 'password',
    secure: true
});

It works well independently,but an error occurred when running in Electron after using LIST command: "SSL connection failed: session reuse required".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions