Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validating files before upload
#10
Hi, you can try this in 2 steps. In Object Inspect, set AutoUpload := False;
Put a button to Select file:
Code:
procedure TIWForm1.IWButton1_SelectAsyncClick(Sender: TObject; EventParams: TStringList);
begin
  IWFileUploader.SelectFile;
end;

Another button to upload the file after you tested the name:
Code:
procedure TIWForm1.IWButton2_SelectAsyncClick(Sender: TObject; EventParams: TStringList);
begin
  IWFileUploader.StartUpload;
end;
Reply


Messages In This Thread
Validating files before upload - by davenovo - 03-14-2018, 11:13 PM
RE: Validating files before upload - by davenovo - 03-16-2018, 01:15 AM
RE: Validating files before upload - by davenovo - 03-18-2018, 06:00 PM
RE: Validating files before upload - by kudzu - 03-19-2018, 01:26 PM
RE: Validating files before upload - by davenovo - 03-19-2018, 05:57 PM
RE: Validating files before upload - by davenovo - 03-19-2018, 08:44 PM
RE: Validating files before upload - by Jose Nilton Pace - 03-20-2018, 01:49 PM
RE: Validating files before upload - by davenovo - 03-20-2018, 03:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)