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()