irigsoft Posted March 4, 2023 Share Posted March 4, 2023 Hello, I try to get original file name on UniFileUpload2MultiCompleted (from demo "FileUpload - Multiple" ) // process files after all files are uploaded for I := Low(Files) to High(Files) do begin if Assigned(Files[I].Stream) then AddImage(Files[I].Stream); end; I try with Files[I].Stream.FileName , but I get cashed files name. I try with UniFileUpload2.FileName, but I get first name in the list for every files. My need is, when I found problem with some of files in the Upload File List, I will get original file name and show to the user this fileName and problem with him. is it possible on MultiCompleted ? Quote Link to comment Share on other sites More sharing options...
irigsoft Posted March 4, 2023 Author Share Posted March 4, 2023 Sorry, I founded it: UniMainModule.UniFileUpload1.Files [I].FileName Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.