Exemple #1
0
        }// public void StartProcessing()

        private FtpSiteInfo GetSiteInfo()
        {
            FtpSiteInfo si = new FtpSiteInfo();

            try
            {
                si.ServiceProvider = "TruMobility";
                // get the site credentials
                si.Site     = ConfigurationManager.AppSettings["FTPSite"];
                si.Username = ConfigurationManager.AppSettings["FTPSiteUsername"];
                si.Password = ConfigurationManager.AppSettings["FTPSitePassword"];
            }
            catch (SystemException se)
            {
                LogIt("FtpMgr::GetSiteInfo()::ExceptionCaught:" + se.Message);
            }

            return(si);
        }
Exemple #2
0
        public FtpMgr()

        {
            _ftpSite = GetSiteInfo();
        }