def METHOD_NAME(ini):
    """ Given some configuration filename, POST all files to the configured URL. """
    config = get_config(ini)
    logger.info('Uploading tiff files from "%s" to "%s"', config.get('source'), config.get('url'))
    # Iterate over all files in the directory
    for filename in os.listdir(config.get('source')):
        filename = filename.lower()
        if filename.endswith('tif') or filename.endswith('tiff'):
            filename = os.path.join(config.get('source'), filename)
            last_modified = datetime.fromtimestamp(os.path.getmtime(filename))
            create_time = datetime.fromtimestamp(os.path.getctime(filename))
            try:
                logger.info('Uploading "%s" to %s', filename, config.get('url'))
                upload(filename, config.get('url'), config.get('secret'),
                       last_modified, create_time, config.get('forecast_or_actual'), config.get('issue_date'))
            except KeyboardInterrupt:
                logger.warning('Aborted')
                sys.exit(1)
            except Exception as exception:
                logger.error('Error uploading "%s" with %s', filename, exception, exc_info=True)
                print(sys.exc_info()[0])