dionel1969 Posted January 9, 2012 Posted January 9, 2012 Hello: I just start to use UniFileUpload and I want to know if would be possible to add properties: 1- DestinationFolder 2- KeepSameName ???? I saw the component upload a file to cache\appname\XXXXXXXXXXXXXXXXX.ext (where X is any character). Quote
Administrators Farshad Mohajeri Posted January 10, 2012 Administrators Posted January 10, 2012 Yes, files are uploaded to the temp folder first. Later you can copy it to another folder. Original file name is preserved and sent to the server. Please see file upload demo. Quote
dionel1969 Posted January 10, 2012 Author Posted January 10, 2012 Yes, files are uploaded to the temp folder first. Later you can copy it to another folder. Original file name is preserved and sent to the server. Please see file upload demo. Ok, I will check the DEMO then. Thank you. Quote
rencarnacion Posted November 28, 2012 Posted November 28, 2012 Yes, files are uploaded to the temp folder first. Later you can copy it to another folder. Original file name is preserved and sent to the server. Please see file upload demo. I'd like to know where is the Upload file Demo Thanks Quote
rencarnacion Posted November 28, 2012 Posted November 28, 2012 Yes, files are uploaded to the temp folder first. Later you can copy it to another folder. Original file name is preserved and sent to the server. Please see file upload demo. Could you show me how to save the file uploaded in another folder thanks Quote
jlrozano Posted November 28, 2012 Posted November 28, 2012 Use TFileFileUpload OnComplete event: procedure TNuevoPedido.UniFileUpload1Completed(Sender: TObject; AStream: TFileStream); var F: TFileStream; begin UniListBox1.Items.Add(UniFileUpload1.FileName); F:= TFileStream.Create('<Your file name and path',fmCreate); F.CopyFrom(ASTream); F.Free; end; Quote
Administrators Farshad Mohajeri Posted November 28, 2012 Administrators Posted November 28, 2012 I'd like to know where is the Upload file Demo Thanks Porgram Files->FMSoft->UniGUI Beta->Demo Quote
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.