jbackup/src/main/java/org/jbundle/jbackup/destination/FtpDestination.java
public void init(Properties properties)
	{
		super.init(properties);
		String strHost = properties.getProperty(FTP_HOST);
		if (strHost == null)
			properties.setProperty(FTP_HOST, "localhost");
		String strUsername = properties.getProperty(USER_NAME);
		if (strUsername == null)
			properties.setProperty(USER_NAME, "anonymous");
		String strPassword = properties.getProperty(PASSWORD);
		if (strPassword == null)
			properties.setProperty(PASSWORD, "name@mailhost.com");
		String m_strRootFTPDirectory = properties.getProperty(ROOT_DIR);
		if (m_strRootFTPDirectory == null)
			properties.setProperty(ROOT_DIR, DEFAULT_ROOT_DIR);
	}
public void init(Properties properties)
	{
		super.init(properties);
		String strHost = properties.getProperty(FTP_HOST);
		if (strHost == null)
			properties.setProperty(FTP_HOST, "localhost");
		String strUsername = properties.getProperty(USER_NAME);
		if (strUsername == null)
			properties.setProperty(USER_NAME, "anonymous");
		String strPassword = properties.getProperty(PASSWORD);
		if (strPassword == null)
			properties.setProperty(PASSWORD, "name@mailhost.com");
		String m_strRootFTPDirectory = properties.getProperty(ROOT_DIR);
		if (m_strRootFTPDirectory == null)
			properties.setProperty(ROOT_DIR, DEFAULT_ROOT_DIR);
	}
/*
Get everything ready.