No longer printing the wrong status msg when getting FTP bundle

This commit is contained in:
mysticbbs 2013-09-23 22:24:36 -04:00
parent cbf82cbae3
commit 3e7c473b59
1 changed files with 3 additions and 3 deletions

View File

@ -120,10 +120,10 @@ Begin
PrintStatus (NIL, 1, 'Receiving ' + FTP.ResponseData.Strings[Count - 1]);
If FTP.GetFile (EchoNode.ftpPassive, bbsCfg.InboundPath + FTP.ResponseData.Strings[Count - 1]) = ftpResOK Then Begin
If FTP.SendCommand('DELE ' + FTP.ResponseData.Strings[Count - 1]) <> 250 Then
FileErase(bbsCfg.InboundPath + FTP.ResponseData.Strings[Count - 1])
Else
If FTP.SendCommand('DELE ' + FTP.ResponseData.Strings[Count - 1]) <> 250 Then Begin
PrintStatus (NIL, 1, 'Unable to delete from server ' + FTP.ResponseData.Strings[Count - 1]);
FileErase(bbsCfg.InboundPath + FTP.ResponseData.Strings[Count - 1]);
End;
End Else
PrintStatus (NIL, 1, 'Failed');
End;