dionel1969 Posted January 9, 2012 Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 10, 2012 Administrators Share 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 Link to comment Share on other sites More sharing options...
dionel1969 Posted January 10, 2012 Author Share 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 Link to comment Share on other sites More sharing options...
rencarnacion Posted November 28, 2012 Share 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 Link to comment Share on other sites More sharing options...
rencarnacion Posted November 28, 2012 Share 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 Link to comment Share on other sites More sharing options...
jlrozano Posted November 28, 2012 Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 28, 2012 Administrators Share Posted November 28, 2012 I'd like to know where is the Upload file Demo Thanks Porgram Files->FMSoft->UniGUI Beta->Demo Quote Link to comment Share on other sites More sharing options...
rencarnacion Posted November 28, 2012 Share Posted November 28, 2012 Thanks, Farshad Mohajeri 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.