204205206207208209210211212213214
{ try { FTPSClient client = getFtpsClient(); client.setRestartOffset(restartOffset); return client.retrieveFileStream(relPath); } catch (IOException e) { disconnect();
212213214215216217218219220221222
{ disconnect(); FTPSClient client = getFtpsClient(); client.setRestartOffset(restartOffset); return client.retrieveFileStream(relPath); } } public OutputStream appendFileStream(String relPath) throws IOException {