Jump to content

TUniFileUploadButton fail to subsequent upload files


gesulmino

Recommended Posts

Hi All,

I dropped a TUniFileUploadButton on a form and set his properties as follow

 

object UniFileUploadButton1: TUniFileUploadButton
    Left = 18
    Top = 375
    Width = 183
    Height = 54
    Hint = ''
    Anchors = [akLeft, akBottom]
    Caption = 'Choose an Image...'
    Filter = 'image/*'
    Images = UniNativeImageList1
    ImageIndex = 0
    Messages.Uploading = 'Uploading...'
    Messages.PleaseWait = 'Please Wait'
    Messages.UploadError = 'Upload Error'
    Messages.UploadTimeout = 'Timeout occurred...'
    Messages.MaxSizeError = 'File is bigger than maximum allowed size'
    Messages.MaxFilesError = 'You can upload maximum %d files.'
    AllowDragDrop = True
    ShowUploadingMsg = False
    OnCompleted = UniFileUploadButton1Completed
  end

I drag and drop the files on the button; on upload of first file is all ok, after I upload the second file, in cache folder there are two files, but are identical (the second file overwrites the first).

Please help me.

Thanks

Link to comment
Share on other sites

9 minutes ago, gesulmino said:

Hi All,

I dropped a TUniFileUploadButton on a form and set his properties as follow

 

object UniFileUploadButton1: TUniFileUploadButton
    Left = 18
    Top = 375
    Width = 183
    Height = 54
    Hint = ''
    Anchors = [akLeft, akBottom]
    Caption = 'Choose an Image...'
    Filter = 'image/*'
    Images = UniNativeImageList1
    ImageIndex = 0
    Messages.Uploading = 'Uploading...'
    Messages.PleaseWait = 'Please Wait'
    Messages.UploadError = 'Upload Error'
    Messages.UploadTimeout = 'Timeout occurred...'
    Messages.MaxSizeError = 'File is bigger than maximum allowed size'
    Messages.MaxFilesError = 'You can upload maximum %d files.'
    AllowDragDrop = True
    ShowUploadingMsg = False
    OnCompleted = UniFileUploadButton1Completed
  end

I drag and drop the files on the button; on upload of first file is all ok, after I upload the second file, in cache folder there are two files, but are identical (the second file overwrites the first).

Please help me.

Thanks

Hi, maybe this will help:

 

Link to comment
Share on other sites

thanks a lot for your response,

obviously if I produce a copy of the file just loaded, this copy remains intact, but the behavior of the component remains incorrect; it would be appropriate for it to be corrected. I'm currently using version 1581.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...