import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileReader;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.util.ArrayList;import java.util.List;
import org.apache.commons.net.ftp.FTP;import org.apache.commons.net.ftp.FTPClient;import org.apache.commons.net.ftp.FTPFile;import org.apache.commons.net.ftp.FTPReply;import org.apache.log4j.Logger;
public class SandvineFTP {
private Logger logger = Logger.getLogger(SandvineFTP.class); private static SandvineFTP sFTP; FTPClient client = new FTPClient(); // make singleton private SandvineFTP(){ } public static SandvineFTP getInstance(){ if(sFTP==null) sFTP = new SandvineFTP(); return sFTP; ...