274 raise E5FtpProxyError( |
274 raise E5FtpProxyError( |
275 "992 Proxy usage requested, but no proxy password" |
275 "992 Proxy usage requested, but no proxy password" |
276 " given") |
276 " given") |
277 |
277 |
278 if self.__proxyType in [E5FtpProxyType.NonAuthorizing, |
278 if self.__proxyType in [E5FtpProxyType.NonAuthorizing, |
279 E5FtpProxyType.AuthResp, E5FtpProxyType.Bluecoat]: |
279 E5FtpProxyType.AuthResp, |
|
280 E5FtpProxyType.Bluecoat]: |
280 user += "@" + self.__host |
281 user += "@" + self.__host |
281 if self.__proxyType == E5FtpProxyType.Bluecoat: |
282 if self.__proxyType == E5FtpProxyType.Bluecoat: |
282 user += " " + self.__proxyUser |
283 user += " " + self.__proxyUser |
283 acct = self.__proxyPassword |
284 acct = self.__proxyPassword |
284 elif self.__proxyType == E5FtpProxyType.UserAtProxyuserAtServer: |
285 elif self.__proxyType == E5FtpProxyType.UserAtProxyuserAtServer: |