Update server_v1.py

This commit is contained in:
markypenguin 2023-03-24 10:42:16 +08:00 committed by GitHub
parent 83ee74cfc0
commit a795a81e46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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