#region FTP 폴더 생성
try
{
WebRequest webRequest = WebRequest.Create(string.Format("ftp://{0}/{1}/", Properties.Settings.Default.ftp_server, current_date));
webRequest.Method = WebRequestMethods.Ftp.MakeDirectory;
webRequest.Credentials = new NetworkCredential(Properties.Settings.Default.user_id, Properties.Settings.Default.user_pw);
var response = webRequest.GetResponse() as FtpWebResponse;
}
catch(Exception ex)
{
string error_message = ex.Message;
if (error_message.Contains("원격 서버에서 (550)") is false)
{
SendMessage(error_message);
return false;
}
}
#endregion