Exemple #1
0
 def export_ftp(self, exp_key):
     ftp_class = ftp.FTP()
     dft_class = DFTranslation(self.config[exc.translation_file][exp_key],
                               self.config[exc.output_file][exp_key])
     ftp_class.input_config(self.config[exc.config_file][exp_key])
     ftp_class.ftp_write_file(dft_class.df,
                              self.config[exc.output_file][exp_key])
Exemple #2
0
 def ftp_loop(self):
     if self.arg_check('sz'):
         self.ftp_load(self.matrix.ftp_sz_key, ftp.FTP())