emsdriver/commons/ftp/FTPSrv.java
file name: FTPSrv.java
Change-Id: I976357082528cf52c27b55111d46f56074db8a07
Issue-ID: VFC-767
Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
}
if (!ftpClient.login(user, pwd)) {
- throw new Exception("login[" + host + "],port[" + port + "] fail, please check user and password");
+ throw new IOException("login[" + host + "],port[" + port + "] fail, please check user and password");
}
if (isPassiveMode) {
ftpClient.enterLocalPassiveMode();
try {
this.ftpClient.setSoTimeout(timeout);
} catch (Exception e) {
- e.printStackTrace();
+ //e.printStackTrace();
+ log.error(" StackTrace :", e);
}
}