//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); } }
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); } }