parameters: (self, target_url, full_filename)
docstring: Upload file into local file storage.
  
          :param str target_url: target URL
          :param str full_filename: path
  
          :returns: whether successful or not
          :rtype: bool
docstring_summary: Upload file into local file storage.
docstring_tokens: Upload file into local file storage .
function: def do_upload(self, target_url, full_filename):
          """Upload file into local file storage.
  
          :param str target_url: target URL
          :param str full_filename: path
  
          :returns: whether successful or not
          :rtype: bool
          """
          os.makedirs(os.path.dirname(target_url), exist_ok=True)
  
          try:
              if full_filename != target_url:
                  shutil.copyfile(full_filename, target_url)
              else:
                  logger.debug('Local Store: Same File, No Upload')
  
              return True
          except Exception as e:
              logger.error(str(e))
              return False
function_tokens: def do_upload ( self , target_url , full_filename ) : os . makedirs ( os . path . dirname ( target_url ) , exist_ok = True ) try : if full_filename != target_url : shutil . copyfile ( full_filename , target_url ) else : logger . debug ( 'Local Store: Same File, No Upload' ) return True except Exception as e : logger . error ( str ( e ) ) return False