def get_direction(is_download):
    """
    Returns the transfer direction for a file captured during an SMB or FTP request.

    :param is_download: True if request was an SMB or FTP download.
    :return: "FROM_SERVER" or "TO_SERVER"
    """
    if is_download or is_download is None:
        return "FROM_SERVER"
    return "TO_SERVER"