remotedata_db_insert.RdInsert the output data returned from rp_control into BETYdb
remotedata_db_insert(
  output,
  remotefile_check_flag,
  siteid,
  out_get_data,
  out_process_data,
  write_raw_start,
  write_raw_end,
  write_pro_start,
  write_pro_end,
  raw_check,
  pro_check,
  raw_mimetype,
  raw_formatname,
  pro_mimetype,
  pro_formatname,
  dbcon
)output list from rp_control
remotefile_check_flag
siteid
out_get_data
out_process_data
write_raw_start, start date of the raw file
write_raw_end, end date of the raw file
write_pro_start
write_pro_end
id, site_id, name, start_date, end_date, of the existing raw file from inputs table and file_path from dbfiles tables
pro_check id, site_id, name, start_date, end_date, of the existing processed file from inputs table and file_path from dbfiles tables
raw_mimetype
raw_formatname
pro_mimetype
pro_formatname
BETYdb con
list containing raw_id, raw_path, pro_id, pro_path