{ Use the SendMultipleFiles method if you want to use wildcards to send more than one file at a time. } ShowMessage('Successfully uploaded the file.'); except on xErr: Exception do ShowMessage('Upload error. Description: '+ xErr.Message); end;
XceedFtp1.Disconnect; {step (6)} except on xErr: Exception do ShowMessage('Connect error. Description: '+ xErr.Message); end;