[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/FTP - FTPStatusMessages.py:1.1.2.7

Shane Hathaway shane@cvs.zope.org
Fri, 5 Apr 2002 18:07:17 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Server/FTP
In directory cvs.zope.org:/tmp/cvs-serv28407

Modified Files:
      Tag: Zope3-Server-Branch
	FTPStatusMessages.py 
Log Message:
Minor cleanup of status messages.


=== Zope3/lib/python/Zope/Server/FTP/FTPStatusMessages.py 1.1.2.6 => 1.1.2.7 ===
     'STRU_OK'          : '200 STRU F Ok.',
     'MODE_OK'          : '200 MODE S Ok.',
-    'FILE_DATE'        : '213 %4d%02d%02d%02d%02d%02d', 
+    'FILE_DATE'        : '213 %4d%02d%02d%02d%02d%02d',
     'FILE_SIZE'        : '213 %d Bytes',
     'HELP_START'       : '214-The following commands are recognized',
     'HELP_END'         : '214 Help done.',
@@ -37,7 +37,7 @@
     'LOGIN_SUCCESS'    : '230 Login Successful.',
     'SUCCESS_250'      : '250 %s command successful.',
     'SUCCESS_257'      : '257 %s command successful.',
-    'ALREADY_CURRENT'  : "257 '%s' is the current directory.",
+    'ALREADY_CURRENT'  : '257 "%s" is the current directory.',
     'PASS_REQUIRED'    : '331 Password required',
     'RESTART_TRANSFER' : '350 Restarting at %d. Send STORE or '
                          'RETRIEVE to initiate transfer.',
@@ -53,9 +53,9 @@
     'LOGIN_REQUIRED'   : '530 Please log in with USER and PASS',
     'LOGIN_MISMATCH'   : '530 The username and password do not match.',
     'ERR_NO_LIST'      : '550 Could not list directory: %s',
-    'ERR_NO_DIR'       : '550 %s: No such directory.',
-    'ERR_NO_FILE'      : '550 %s: No such file.',
-    'ERR_IS_NOT_FILE'  : '550 %s: Is not a file',
+    'ERR_NO_DIR'       : '550 "%s": No such directory.',
+    'ERR_NO_FILE'      : '550 "%s": No such file.',
+    'ERR_IS_NOT_FILE'  : '550 "%s": Is not a file',
     'ERR_CREATE_FILE'  : '550 Error creating file.',
     'ERR_CREATE_DIR'   : '550 Error creating directory.',
     'ERR_DELETE_FILE'  : '550 Error deleting file.',
@@ -63,7 +63,7 @@
     'ERR_OPEN_READ'    : '553 Could not open file for reading: %s',
     'ERR_OPEN_WRITE'   : '553 Could not open file for writing: %s',
     'ERR_RESTART_STOR' : '553 Restart on STOR not yet supported',
-    'ERR_RENAME'       : '560 Could not rename %s to %s.',
+    'ERR_RENAME'       : '560 Could not rename "%s" to "%s".',
     'ERR_RNFR_SOURCE'  : '560 No source filename specify. Call RNFR first.',
     }