From a795a81e4646a1285ecd153fc28871cba44b25f8 Mon Sep 17 00:00:00 2001 From: markypenguin <54793197+markypenguin@users.noreply.github.com> Date: Fri, 24 Mar 2023 10:42:16 +0800 Subject: [PATCH] Update server_v1.py --- server_v1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server_v1.py b/server_v1.py index 99ac947..0a094a3 100644 --- a/server_v1.py +++ b/server_v1.py @@ -122,7 +122,7 @@ class serverThread(threading.Thread): fhist = time.strftime(' %b %d %H:%M ', time.gmtime(st.st_mtime)) return d + mode + '\t1 user' + '\t group \t\t' + str(st.st_size) + '\t' + fhist + '\t' + os.path.basename(l) - def UPLD(self, cmd): + def STOR(self, cmd): # need to update for same file name and file size # Cant store files if not logged in if self.isLoggedIn: @@ -423,4 +423,4 @@ def Main(): cThread.stop() -Main() \ No newline at end of file +Main()