Example #1
0
        //Get new settings file
        public static bool GetSettingsFile()
        {
            //Try to download the file
            try
            {
                //use FTP downloader
                ftp c = new ftp();
                c.FtpGetFile(ftp_bundle + "Additional/OATools_Settings.ini", local_additionalDirectory + "/OATools_Settings.ini");

                return(true);
            }
            catch (Exception)
            {
                //So much can go wrong so just return false
                return(false);
            }
        }
Example #2
0
        public bool getDNoteFile()
        {
            //Try to download the file
            try
            {
                //use FTP downloader

                ftp c = new ftp();

                c.FtpGetFile(ftp_bundle + "Additional/fsDNote.rfa", local_additionalDirectory + "/fsDNote.rfa");

                return(true);
            }
            catch (Exception)
            {
                //So much can go wrong so just return false
                return(false);
            }
        }