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