Comparing version 1.3.7 to 1.3.8
@@ -460,2 +460,9 @@ /* vim:set ts=2 sw=2 sts=2 expandtab */ | ||
socket.on('error', function(err) { | ||
if (err.code === 'ECONNREFUSED') { | ||
err.msg = 'Probably trying a PASV operation while one is in progress'; | ||
} | ||
cmdCallback(err); | ||
}); | ||
self.pasvTimeout.call(self, socket, cmdCallback); | ||
@@ -588,8 +595,2 @@ socket.pause(); | ||
socket.setTimeout(timeout || TIMEOUT); | ||
socket.on('error', function(err) { | ||
if (err.code === 'ECONNREFUSED') { | ||
err.msg = 'Probably trying a PASV operation while one is in progress'; | ||
} | ||
callback(err); | ||
}); | ||
callback(null, socket); | ||
@@ -596,0 +597,0 @@ }); |
{ | ||
"name": "jsftp", | ||
"id": "jsftp", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"description": "A sane FTP client implementation for NodeJS", | ||
@@ -6,0 +6,0 @@ "keywords": [ "ftp", "protocol", "files", "server", "client", "async" ], |
@@ -789,10 +789,11 @@ /* | ||
function pushit() { | ||
ftp.get(file1, function() { | ||
args.push(arguments[0]); | ||
onDone(); | ||
} | ||
ftp.get(file1, pushit); | ||
ftp.get(file2, pushit); | ||
}); | ||
ftp.get(file2, function() { | ||
args.push(arguments[0]); | ||
onDone(); | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57905
1330