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 need to get a report like data to get the file that is not on the FTP server. I have the code below but i cannot get the data.
listOfFile =['1.pdf','2.pdf','3.pdf']; lisfOfNotFound = []; for(var i=0; i<listOFfile.length;i++){ var c = new Client(); c.on("ready", function() { console.log(list[0].shipment_id); for (var i = 0; i < list.length; i++) { c .get(${list[i]}.pdf, function(err, data) { if (err){ lisfOfNotFound.push(list[i]) } c.end(); } ); } }); c.connect(config.ftp); }
${list[i]}.pdf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I need to get a report like data to get the file that is not on the FTP server. I have the code below but i cannot get the data.
listOfFile =['1.pdf','2.pdf','3.pdf'];
lisfOfNotFound = [];
for(var i=0; i<listOFfile.length;i++){
var c = new Client();
c.on("ready", function() {
console.log(list[0].shipment_id);
for (var i = 0; i < list.length; i++) {
c .get(
${list[i]}.pdf
,function(err, data) {
if (err){
lisfOfNotFound.push(list[i])
}
c.end();
}
);
}
});
c.connect(config.ftp);
}
The text was updated successfully, but these errors were encountered: