oFTPC = new FTPClient(sTargetHost);
oFTPC.login(user(), password());
if (DebugFile.trace)DebugFile.writeln("FTPClient.site(exec cp " + sSourcePath + sSourceFile + " " + sTargetPath + sTargetFile);
oFTPC.rename(sSourcePath + sSourceFile, sSourcePath + sTempName );
oFTPC.site("exec cp " + sSourcePath + sTempName + " " + sTargetPath + sTargetFile);
oFTPC.rename(sSourcePath + sTempName, sSourcePath + sSourceFile);
oFTPC.quit();
}
else {
oReader = new FTPWorkerThread(sSourceHost, sUsr, sPwd);