We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have the following code:
` var EasyFtp = require('easy-ftp')
var ftp = new EasyFtp()
var config = { host:'', port: 21, username: '', password: '********', type: 'ftp' }
ftp.on("open", function(client){ console.log('open') })
ftp.connect(config)
ftp.close(); `
But why there is no 'open' string showing in console ?
Any suggestion for helping me ?
Thanks
The text was updated successfully, but these errors were encountered:
I think you should disconnect after the connection is complete.
ftp.on("open", function(client){ console.log('open'); ftp.close(); }); ftp.connect(config);
Sorry, something went wrong.
Thanks. It works. By the way, can I know the progress of download or upload ?
No branches or pull requests
I have the following code:
`
var EasyFtp = require('easy-ftp')
var ftp = new EasyFtp()
var config = {
host:'',
port: 21,
username: '',
password: '********',
type: 'ftp'
}
ftp.on("open", function(client){
console.log('open')
})
ftp.connect(config)
ftp.close(); `
But why there is no 'open' string showing in console ?
Any suggestion for helping me ?
Thanks
The text was updated successfully, but these errors were encountered: