From ddb3fd284636b156c5bb411c60735200d58f0e15 Mon Sep 17 00:00:00 2001 From: Minecraftku_hei <31839741+kebufu@users.noreply.github.com> Date: Tue, 13 Apr 2021 22:42:55 +0800 Subject: [PATCH 1/2] Update Network.lua --- Libraries/Network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Network.lua b/Libraries/Network.lua index 03f3a15d..61187162 100755 --- a/Libraries/Network.lua +++ b/Libraries/Network.lua @@ -113,7 +113,7 @@ local function FTPLogin(socketHandle, user, password) local success, result = FTPSocketRead(socketHandle) if success then - if result:match("TYPE okay") then + if result:match("200") then return true else return false, "Authentication failed" From 0c36111198b6adc39bef0fc6fa9cf1112dfe76fc Mon Sep 17 00:00:00 2001 From: IgorTimofeev <11760002+IgorTimofeev@users.noreply.github.com> Date: Tue, 13 Apr 2021 19:01:03 +0300 Subject: [PATCH 2/2] Update Network.lua --- Libraries/Network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Network.lua b/Libraries/Network.lua index 61187162..ed67faf1 100755 --- a/Libraries/Network.lua +++ b/Libraries/Network.lua @@ -113,7 +113,7 @@ local function FTPLogin(socketHandle, user, password) local success, result = FTPSocketRead(socketHandle) if success then - if result:match("200") then + if result:match("TYPE okay") or result:match("200") then return true else return false, "Authentication failed"