Skip to content
Snippets Groups Projects
Commit a71492dd authored by deuce's avatar deuce
Browse files

Fix exception string.

parent 7d5cf1fd
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ FTP.prototype.data_socket = function()
throw("EPSV Failed");
m = rstr.match(/\(\|\|\|([0-9]+)\|\)/);
if (m === null)
throw("Unable to parse PASV reply");
throw("Unable to parse EPSV reply");
return new ConnectedSocket(this.host, parseInt(m[1], 10), {protocol:'FTP-Data', timeout:this.timeout, binadaddrs:this.bindhost});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment