--- a/E5Network/E5Ftp.py Fri Nov 01 15:48:48 2013 +0100 +++ b/E5Network/E5Ftp.py Sun Nov 03 15:58:22 2013 +0100 @@ -302,7 +302,7 @@ if presp[0] != "2": raise E5FtpProxyError( "9{0}0 Error authorizing at proxy\n{1}".format( - presp[0], presp)) + presp[0], presp)) if self.__proxyType == E5FtpProxyType.Site: # send SITE command @@ -310,14 +310,14 @@ if presp[0] != "2": raise E5FtpProxyError( "9{0}0 Error sending SITE command\n{1}".format( - presp[0], presp)) + presp[0], presp)) elif self.__proxyType == E5FtpProxyType.Open: # send OPEN command presp = self.sendcmd("OPEN " + self.__host) if presp[0] != "2": raise E5FtpProxyError( "9{0}0 Error sending OPEN command\n{1}".format( - presp[0], presp)) + presp[0], presp)) # authenticate to the remote host or combined to proxy and remote host resp = self.sendcmd("USER " + user) @@ -336,6 +336,6 @@ if presp[0] != "2": raise E5FtpProxyError( "9{0}0 Error authorizing at proxy\n{1}".format( - presp[0], presp)) + presp[0], presp)) return resp