no message

main
이범준 7 months ago
parent 4fae3091d8
commit 9be5b67777

@ -35,7 +35,7 @@ import org.quartz.PersistJobDataAfterExecution;
private ArrayList<String> state; private ArrayList<String> state;
private static String[] g_strDB = new String[4]; private static String[] g_strDB = new String[4];
private static String[] g_strFTP = new String[5]; private static String[] g_strFTP = new String[7];
private String g_strTenel = ""; private String g_strTenel = "";

@ -10,23 +10,13 @@ import java.net.URLConnection;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
public class SmtURLDownloadFunc {
public class SmtURLDownloadFunc
{
private static final Logger logger = Logger.getLogger(SmtURLDownloadFunc.class); private static final Logger logger = Logger.getLogger(SmtURLDownloadFunc.class);
static final int size = 4096; static final int size = 4096;
public static void fileUrlReadAndDownload(String fileAddress, String localFileName, String downloadDir) { public static void fileUrlReadAndDownload(String fileAddress, String localFileName, String downloadDir) {
OutputStream outStream = null; OutputStream outStream = null;
URLConnection uCon = null; URLConnection uCon = null;

Loading…
Cancel
Save