URL urlPackage = new URL(config.getPackageUrl());
String strFilename;
if (urlPackage.getProtocol().equals("file"))
{
strFilename = new File(urlPackage.getFile()).getName();
cmd.copy(urlPackage.getFile(), config.getRemotePath() + "/" + strFilename);
} else {
/* TODO: handle HTTP package URL ? */
if(logger.isDebugEnabled()) {
logger.debug("URL type " + urlPackage.getProtocol() + " is not supported yet.");