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). 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. 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. 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 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 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; 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 Link to comment Share on other sites More sharing options...
rencarnacion Posted November 28, 2012 Share Posted November 28, 2012 Thanks, Farshad Mohajeri Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now