Skip to content

fileUpload component - set custom name for upload file #223

Closed Answered by Rapster
arnieHouston asked this question in PrimeFaces
Discussion options

You must be logged in to vote

I don't think PF can do something about this, besides chunks upload and content verification, FileUpload does not create temp file, your servlet container will. When we create a UploadFile, all we can do is to get the inputstream (that most of the time will come from a File that your servlet container created). In a few words, PF has no control over filenaming

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Rapster
Comment options

Rapster Oct 13, 2023
Collaborator

Answer selected by melloware
Comment options

You must be logged in to vote
1 reply
@Rapster
Comment options

Rapster Oct 13, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants