Skip to content

Add option to ignore file extension #340

@dstutz

Description

@dstutz

Curious if a new PoijiOption could be added to disable the file extension check?

Working on a web application where we have a temporary file upload service that takes the file, writes it to disk with a filename based on a generated ID and returns the ID to be used by other parts of the application to store the file in a final way in which case the original filename would be stored as metadata, or the file is discarded. I am trying to process a spreadsheet uploaded to that temporary area, since I don't want to permanently save it, and am hitting that exception.

com.poiji.exception.InvalidExcelFileExtension: Invalid file extension (), expected .xls or .xlsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions