diff --git a/exec/load/ftp.js b/exec/load/ftp.js
index b7c14926f7a399408a9ada8be73fc79e391392b0..05504cbaa9bad43db39c4ce1ba113ffb8db81886 100644
--- a/exec/load/ftp.js
+++ b/exec/load/ftp.js
@@ -68,7 +68,7 @@ FTP.prototype.cdup = function()
 	var rstr;
 	var ret;
 
-	rstr = this.cmd("CDUP");
+	rstr = this.cmd("CDUP", true);
 	ret = parseInt(rstr, 10);
 	if (ret !== 200)
 		return false;
@@ -108,7 +108,7 @@ FTP.prototype.pwd = function()
 	rstr = this.cmd("PWD", true);
 	ret = parseInt(rstr, 10);
 	if (ret === 257)
-		return rstr.replace(/^257 "(.*)".*?$/, '$1');
+		return rstr.replace(/^257 "(.*)".*?$/, "$1");
 	return null;
 }