No longer printing the wrong status msg when getting FTP bundle
This commit is contained in:
parent
cbf82cbae3
commit
3e7c473b59
|
@ -120,10 +120,10 @@ Begin
|
||||||
PrintStatus (NIL, 1, 'Receiving ' + FTP.ResponseData.Strings[Count - 1]);
|
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.GetFile (EchoNode.ftpPassive, bbsCfg.InboundPath + FTP.ResponseData.Strings[Count - 1]) = ftpResOK Then Begin
|
||||||
If FTP.SendCommand('DELE ' + FTP.ResponseData.Strings[Count - 1]) <> 250 Then
|
If FTP.SendCommand('DELE ' + FTP.ResponseData.Strings[Count - 1]) <> 250 Then Begin
|
||||||
FileErase(bbsCfg.InboundPath + FTP.ResponseData.Strings[Count - 1])
|
|
||||||
Else
|
|
||||||
PrintStatus (NIL, 1, 'Unable to delete from server ' + FTP.ResponseData.Strings[Count - 1]);
|
PrintStatus (NIL, 1, 'Unable to delete from server ' + FTP.ResponseData.Strings[Count - 1]);
|
||||||
|
FileErase(bbsCfg.InboundPath + FTP.ResponseData.Strings[Count - 1]);
|
||||||
|
End;
|
||||||
End Else
|
End Else
|
||||||
PrintStatus (NIL, 1, 'Failed');
|
PrintStatus (NIL, 1, 'Failed');
|
||||||
End;
|
End;
|
||||||
|
|
Loading…
Reference in New Issue