Autoset TYPE I after authentication

This commit is contained in:
mysticbbs 2013-09-23 23:18:19 -04:00
parent 3e7c473b59
commit 483fcf25c5
1 changed files with 5 additions and 1 deletions

View File

@ -129,6 +129,10 @@ Begin
If SendCommand('USER ' + Login) <> 331 Then Exit;
If SendCommand('PASS ' + Password) <> 230 Then Exit;
// tossing in BIN mode here for lack of a better place
If SendCommand('TYPE I') = 200 Then;
Result := True;
End;
@ -278,7 +282,7 @@ Begin
Client.WriteLine ('NLST');
If OpenDataSession and (GetResponse = 150) Then Begin
ResponseData.Clear;
Repeat